#6C9A23#6C9A23

#6C9A23 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.0% C 0.152 H 129.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6C9A23
RGBrgb(108, 154, 35)
HSLhsl(83, 63%, 37%)
HSVhsv(83, 77%, 60%)
CMYKcmyk(29.9%, 0%, 77.3%, 39.6%)
CIE-LABlab(58.43, -33.47, 53.35)
CIE-LCHlch(58.43, 62.98, 122.11°)
OKLaboklab(63.04% -0.0957 0.1183)
OKLCHoklch(63.04% 0.152 129)
XYZxyz(18.0433, 26.4202, 5.7388)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9A23 #51239A
analogous
#9A8D23 #6C9A23 #319A23
triadic
#6C9A23 #236C9A #9A236C
tetradic
#6C9A23 #239A8D #51239A #9A2331
square
#6C9A23 #239A8D #51239A #9A2331
split-complementary
#6C9A23 #23319A #8D239A
monochromatic
#26360C #496818 #6C9A23 #8FCC2E #AADA5D

Accessibility & contrast

On white

3.34
#6C9A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#6C9A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9A23
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9A23#FFFFFF#000000##000000
##6C9A231.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F05
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#6F9384
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6c9a23;
/* rgb */ color: rgb(108, 154, 35);
/* oklch */ color: oklch(63.0% 0.152 129.0);
Tailwind
colors: {
  custom: {
    50: '#9ab868',
    500: '#6c9a23',
    950: '#000000',
  },
}
SCSS
$custom: #6c9a23;
$custom-light: #9ab868;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9a23",
  "rgb": {
    "r": 108,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 83.193,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63037,
    "c": 0.15222,
    "h": 129
  },
  "luminance": 0.26421
}

Semantic roles & 50–950 ramp

primary
#6C9A23
secondary
#815ABF
accent
#42E681
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6C9A23

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

Preview Lab → · Contrast checker → · Palette generator →

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