#6F8A21#6F8A21

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

Color values

HEX#6F8A21
RGBrgb(111, 138, 33)
HSLhsl(75, 61%, 34%)
HSVhsv(75, 76%, 54%)
CMYKcmyk(19.6%, 0%, 76.1%, 45.9%)
CIE-LABlab(53.67, -24.70, 49.56)
CIE-LCHlch(53.67, 55.37, 116.49°)
OKLaboklab(59.22% -0.0722 0.11)
OKLCHoklch(59.22% 0.132 123.3)
XYZxyz(15.9187, 21.6662, 4.7819)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A21 #3C218A
analogous
#8A7021 #6F8A21 #3A8A21
triadic
#6F8A21 #216F8A #8A216F
tetradic
#6F8A21 #218A70 #3C218A #8A213A
square
#6F8A21 #218A70 #3C218A #8A213A
split-complementary
#6F8A21 #213A8A #70218A
monochromatic
#202709 #475915 #6F8A21 #97BB2D #B3D550

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F8A21#FFFFFF#000000##000000
##6F8A211.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)
#92810A
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#758376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a21;
/* rgb */ color: rgb(111, 138, 33);
/* oklch */ color: oklch(59.2% 0.132 123.3);
Tailwind
colors: {
  custom: {
    50: '#9bac65',
    500: '#6f8a21',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a21;
$custom-light: #9bac65;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a21",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 75.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59221,
    "c": 0.13153,
    "h": 123.3
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#6F8A21
secondary
#6A4EB9
accent
#43E56D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6F8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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