#6F7620#6F7620

#6F7620 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.3% C 0.107 H 114.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6F7620
RGBrgb(111, 118, 32)
HSLhsl(65, 57%, 29%)
HSVhsv(65, 73%, 46%)
CMYKcmyk(5.9%, 0%, 72.9%, 53.7%)
CIE-LABlab(47.55, -14.36, 43.98)
CIE-LCHlch(47.55, 46.27, 108.08°)
OKLaboklab(54.29% -0.0437 0.0981)
OKLCHoklch(54.29% 0.107 114)
XYZxyz(13.2951, 16.4409, 3.8393)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7620 #272076
analogous
#765220 #6F7620 #447620
triadic
#6F7620 #206F76 #76206F
tetradic
#6F7620 #207652 #272076 #762044
square
#6F7620 #207652 #272076 #762044
split-complementary
#6F7620 #204476 #522076
monochromatic
#171807 #424613 #6F7620 #9CA62D #C1CC44

Accessibility & contrast

On white

4.90
#6F7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6F7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7620
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7620#FFFFFF#000000##FFFFFF
##6F76201.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7012
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#776F65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6f7620;
/* rgb */ color: rgb(111, 118, 32);
/* oklch */ color: oklch(54.3% 0.107 114.0);
Tailwind
colors: {
  custom: {
    50: '#9b9d62',
    500: '#6f7620',
    950: '#000000',
  },
}
SCSS
$custom: #6f7620;
$custom-light: #9b9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7620",
  "rgb": {
    "r": 111,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 64.884,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.10735,
    "h": 114
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#6F7620
secondary
#5048A9
accent
#47E154
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6F7620

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

Preview Lab → · Contrast checker → · Palette generator →

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