#6A7916#6A7916

#6A7916 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.5% C 0.119 H 118.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6A7916
RGBrgb(106, 121, 22)
HSLhsl(69, 69%, 28%)
HSVhsv(69, 82%, 47%)
CMYKcmyk(12.4%, 0%, 81.8%, 52.5%)
CIE-LABlab(48.00, -18.75, 47.87)
CIE-LCHlch(48.00, 51.41, 111.39°)
OKLaboklab(54.54% -0.0564 0.1046)
OKLCHoklch(54.54% 0.119 118.4)
XYZxyz(12.9264, 16.7970, 3.3201)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7916 #251679
analogous
#795616 #6A7916 #387916
triadic
#6A7916 #166A79 #79166A
tetradic
#6A7916 #167956 #251679 #791638
square
#6A7916 #167956 #251679 #791638
split-complementary
#6A7916 #163879 #561679
monochromatic
#171A05 #3D450D #6A7916 #97AD1F #C0D930

Accessibility & contrast

On white

4.82
#6A7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6A7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7916
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7916#FFFFFF#000000##FFFFFF
##6A79161.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#717267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6a7916;
/* rgb */ color: rgb(106, 121, 22);
/* oklch */ color: oklch(54.5% 0.119 118.4);
Tailwind
colors: {
  custom: {
    50: '#989f5d',
    500: '#6a7916',
    950: '#000000',
  },
}
SCSS
$custom: #6a7916;
$custom-light: #989f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7916",
  "rgb": {
    "r": 106,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 69.091,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54536,
    "c": 0.11885,
    "h": 118.4
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#6A7916
secondary
#4E3DAE
accent
#3CEC56
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7916

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6A7916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva