#6A8D23#6A8D23

#6A8D23 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.137 H 126.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6A8D23
RGBrgb(106, 141, 35)
HSLhsl(80, 60%, 35%)
HSVhsv(80, 75%, 55%)
CMYKcmyk(24.8%, 0%, 75.2%, 44.7%)
CIE-LABlab(54.28, -28.15, 49.30)
CIE-LCHlch(54.28, 56.77, 119.72°)
OKLaboklab(59.63% -0.0811 0.1099)
OKLCHoklch(59.63% 0.137 126.4)
XYZxyz(15.7722, 22.2350, 5.0506)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8D23 #46238D
analogous
#8D7B23 #6A8D23 #358D23
triadic
#6A8D23 #236A8D #8D236A
tetradic
#6A8D23 #238D7B #46238D #8D2335
square
#6A8D23 #238D7B #46238D #8D2335
split-complementary
#6A8D23 #23358D #7B238D
monochromatic
#202B0B #455C17 #6A8D23 #8FBE2F #ABD555

Accessibility & contrast

On white

3.86
#6A8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6A8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8D23
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8D23#FFFFFF#000000##000000
##6A8D231.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830E
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#6F8679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8d23;
/* rgb */ color: rgb(106, 141, 35);
/* oklch */ color: oklch(59.6% 0.137 126.4);
Tailwind
colors: {
  custom: {
    50: '#98ae66',
    500: '#6a8d23',
    950: '#000000',
  },
}
SCSS
$custom: #6a8d23;
$custom-light: #98ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8d23",
  "rgb": {
    "r": 106,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 79.811,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.1366,
    "h": 126.4
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#6A8D23
secondary
#7553B9
accent
#44E379
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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