#6F8A1D#6F8A1D

#6F8A1D is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.134 H 123.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6F8A1D
RGBrgb(111, 138, 29)
HSLhsl(75, 65%, 33%)
HSVhsv(75, 79%, 54%)
CMYKcmyk(19.6%, 0%, 79%, 45.9%)
CIE-LABlab(53.65, -24.90, 50.91)
CIE-LCHlch(53.65, 56.68, 116.07°)
OKLaboklab(59.2% -0.073 0.1121)
OKLCHoklch(59.2% 0.134 123.1)
XYZxyz(15.8660, 21.6451, 4.5042)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A1D #381D8A
analogous
#8A6E1D #6F8A1D #398A1D
triadic
#6F8A1D #1D6F8A #8A1D6F
tetradic
#6F8A1D #1D8A6E #381D8A #8A1D39
square
#6F8A1D #1D8A6E #381D8A #8A1D39
split-complementary
#6F8A1D #1D398A #6E1D8A
monochromatic
#1E2508 #465712 #6F8A1D #98BD28 #B5D949

Accessibility & contrast

On white

3.94
#6F8A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6F8A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A1D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A1D#FFFFFF#000000##000000
##6F8A1D1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#758376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a1d;
/* rgb */ color: rgb(111, 138, 29);
/* oklch */ color: oklch(59.2% 0.134 123.1);
Tailwind
colors: {
  custom: {
    50: '#9cac63',
    500: '#6f8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a1d;
$custom-light: #9cac63;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a1d",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 74.862,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59195,
    "c": 0.13383,
    "h": 123.1
  },
  "luminance": 0.21645
}

Semantic roles & 50–950 ramp

primary
#6F8A1D
secondary
#6448BB
accent
#40E869
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #6F8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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