#6D7F11#6D7F11

#6D7F11 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.2% C 0.127 H 119.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6D7F11
RGBrgb(109, 127, 17)
HSLhsl(70, 76%, 28%)
HSVhsv(70, 87%, 50%)
CMYKcmyk(14.2%, 0%, 86.6%, 50.2%)
CIE-LABlab(50.06, -20.71, 51.18)
CIE-LCHlch(50.06, 55.21, 112.03°)
OKLaboklab(56.25% -0.0623 0.1107)
OKLCHoklch(56.25% 0.127 119.4)
XYZxyz(13.9975, 18.4705, 3.3580)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7F11 #23117F
analogous
#7F5A11 #6D7F11 #367F11
triadic
#6D7F11 #116D7F #7F116D
tetradic
#6D7F11 #117F5A #23117F #7F1136
square
#6D7F11 #117F5A #23117F #7F1136
split-complementary
#6D7F11 #11367F #5A117F
monochromatic
#171B04 #3F490A #6D7F11 #9BB518 #C4E228

Accessibility & contrast

On white

4.47
#6D7F11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6D7F11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7F11
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7F11#FFFFFF#000000##000000
##6D7F111.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#74786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6d7f11;
/* rgb */ color: rgb(109, 127, 17);
/* oklch */ color: oklch(56.2% 0.127 119.4);
Tailwind
colors: {
  custom: {
    50: '#9aa45c',
    500: '#6d7f11',
    950: '#000000',
  },
}
SCSS
$custom: #6d7f11;
$custom-light: #9aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7f11",
  "rgb": {
    "r": 109,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 69.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.12702,
    "h": 119.4
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

primary
#6D7F11
secondary
#4B37B5
accent
#35F354
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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