#6F8D1F#6F8D1F

#6F8D1F is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.0% C 0.136 H 124.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6F8D1F
RGBrgb(111, 141, 31)
HSLhsl(76, 64%, 34%)
HSVhsv(76, 78%, 55%)
CMYKcmyk(21.3%, 0%, 78%, 44.7%)
CIE-LABlab(54.58, -26.29, 51.12)
CIE-LCHlch(54.58, 57.48, 117.21°)
OKLaboklab(59.96% -0.0767 0.1129)
OKLCHoklch(59.96% 0.136 124.2)
XYZxyz(16.3279, 22.5280, 4.7842)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8D1F #3D1F8D
analogous
#8D741F #6F8D1F #388D1F
triadic
#6F8D1F #1F6F8D #8D1F6F
tetradic
#6F8D1F #1F8D74 #3D1F8D #8D1F38
square
#6F8D1F #1F8D74 #3D1F8D #8D1F38
split-complementary
#6F8D1F #1F388D #741F8D
monochromatic
#202909 #485B14 #6F8D1F #96BF2A #B3D84E

Accessibility & contrast

On white

3.81
#6F8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6F8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8D1F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8D1F#FFFFFF#000000##000000
##6F8D1F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958403
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#758678
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6f8d1f;
/* rgb */ color: rgb(111, 141, 31);
/* oklch */ color: oklch(60.0% 0.136 124.2);
Tailwind
colors: {
  custom: {
    50: '#9cae64',
    500: '#6f8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #6f8d1f;
$custom-light: #9cae64;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8d1f",
  "rgb": {
    "r": 111,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 76.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.13647,
    "h": 124.2
  },
  "luminance": 0.22528
}

Semantic roles & 50–950 ramp

primary
#6F8D1F
secondary
#6B4DBB
accent
#41E76E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #6F8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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