#6F8923#6F8923

#6F8923 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 59.0% C 0.129 H 123.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6F8923
RGBrgb(111, 137, 35)
HSLhsl(75, 59%, 34%)
HSVhsv(75, 74%, 54%)
CMYKcmyk(19%, 0%, 74.5%, 46.3%)
CIE-LABlab(53.38, -24.08, 48.54)
CIE-LCHlch(53.38, 54.19, 116.39°)
OKLaboklab(58.99% -0.0703 0.1082)
OKLCHoklch(58.99% 0.129 123)
XYZxyz(15.8048, 21.3921, 4.8862)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8923 #3D2389
analogous
#897023 #6F8923 #3C8923
triadic
#6F8923 #236F89 #89236F
tetradic
#6F8923 #238970 #3D2389 #89233C
square
#6F8923 #238970 #3D2389 #89233C
split-complementary
#6F8923 #233C89 #702389
monochromatic
#20280A #485817 #6F8923 #96BA2F #B3D353

Accessibility & contrast

On white

3.98
#6F8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6F8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8923
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8923#FFFFFF#000000##000000
##6F89231.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#758275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6f8923;
/* rgb */ color: rgb(111, 137, 35);
/* oklch */ color: oklch(59.0% 0.129 123.0);
Tailwind
colors: {
  custom: {
    50: '#9bab65',
    500: '#6f8923',
    950: '#000000',
  },
}
SCSS
$custom: #6f8923;
$custom-light: #9bab65;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8923",
  "rgb": {
    "r": 111,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 75.294,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58986,
    "c": 0.129,
    "h": 123
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#6F8923
secondary
#6B51B7
accent
#45E26D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6F8923

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

Preview Lab → · Contrast checker → · Palette generator →

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