#6F8112#6F8112

#6F8112 is a mid, vivid yellow. Relative luminance 0.191; OKLCH L 56.9% C 0.128 H 119.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6F8112
RGBrgb(111, 129, 18)
HSLhsl(70, 76%, 29%)
HSVhsv(70, 86%, 51%)
CMYKcmyk(14%, 0%, 86%, 49.4%)
CIE-LABlab(50.83, -20.81, 51.64)
CIE-LCHlch(50.83, 55.68, 111.95°)
OKLaboklab(56.9% -0.0627 0.1118)
OKLCHoklch(56.9% 0.128 119.3)
XYZxyz(14.5153, 19.1238, 3.4987)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8112 #241281
analogous
#815C12 #6F8112 #388112
triadic
#6F8112 #126F81 #81126F
tetradic
#6F8112 #12815C #241281 #811238
square
#6F8112 #12815C #241281 #811238
split-complementary
#6F8112 #123881 #5C1281
monochromatic
#171B04 #414B0B #6F8112 #9DB719 #C4E22C

Accessibility & contrast

On white

4.35
#6F8112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#6F8112 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8112
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8112#FFFFFF#000000##000000
##6F81121.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#88791F
Tritanopia (blue-blind)
#76796D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6f8112;
/* rgb */ color: rgb(111, 129, 18);
/* oklch */ color: oklch(56.9% 0.128 119.3);
Tailwind
colors: {
  custom: {
    50: '#9ca55d',
    500: '#6f8112',
    950: '#000000',
  },
}
SCSS
$custom: #6f8112;
$custom-light: #9ca55d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8112",
  "rgb": {
    "r": 111,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 69.73,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.12812,
    "h": 119.3
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#6F8112
secondary
#4D38B7
accent
#36F254
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8112

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

Preview Lab → · Contrast checker → · Palette generator →

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