#6B8D23#6B8D23

#6B8D23 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.136 H 126.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6B8D23
RGBrgb(107, 141, 35)
HSLhsl(79, 60%, 35%)
HSVhsv(79, 75%, 55%)
CMYKcmyk(24.1%, 0%, 75.2%, 44.7%)
CIE-LABlab(54.34, -27.74, 49.39)
CIE-LCHlch(54.34, 56.65, 119.32°)
OKLaboklab(59.7% -0.0801 0.1101)
OKLCHoklch(59.7% 0.136 126)
XYZxyz(15.8917, 22.2967, 5.0562)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8D23 #45238D
analogous
#8D7A23 #6B8D23 #368D23
triadic
#6B8D23 #236B8D #8D236B
tetradic
#6B8D23 #238D7A #45238D #8D2336
square
#6B8D23 #238D7A #45238D #8D2336
split-complementary
#6B8D23 #23368D #7A238D
monochromatic
#212B0B #465C17 #6B8D23 #90BE2F #ACD555

Accessibility & contrast

On white

3.85
#6B8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6B8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8D23
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8D23#FFFFFF#000000##000000
##6B8D231.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b8d23;
/* rgb */ color: rgb(107, 141, 35);
/* oklch */ color: oklch(59.7% 0.136 126.0);
Tailwind
colors: {
  custom: {
    50: '#99ae66',
    500: '#6b8d23',
    950: '#000000',
  },
}
SCSS
$custom: #6b8d23;
$custom-light: #99ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8d23",
  "rgb": {
    "r": 107,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 79.245,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59697,
    "c": 0.1361,
    "h": 126
  },
  "luminance": 0.22297
}

Semantic roles & 50–950 ramp

primary
#6B8D23
secondary
#7453B9
accent
#44E377
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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