#6B8A23#6B8A23

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

Color values

HEX#6B8A23
RGBrgb(107, 138, 35)
HSLhsl(78, 60%, 34%)
HSVhsv(78, 75%, 54%)
CMYKcmyk(22.5%, 0%, 74.6%, 45.9%)
CIE-LABlab(53.41, -26.27, 48.48)
CIE-LCHlch(53.41, 55.14, 118.45°)
OKLaboklab(58.94% -0.0761 0.1082)
OKLCHoklch(58.94% 0.132 125.1)
XYZxyz(15.4554, 21.4239, 4.9108)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A23 #42238A
analogous
#8A7623 #6B8A23 #388A23
triadic
#6B8A23 #236B8A #8A236B
tetradic
#6B8A23 #238A76 #42238A #8A2338
square
#6B8A23 #238A76 #42238A #8A2338
split-complementary
#6B8A23 #23388A #76238A
monochromatic
#1F280A #455917 #6B8A23 #91BB2F #ADD454

Accessibility & contrast

On white

3.97
#6B8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8A23#FFFFFF#000000##000000
##6B8A231.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a23;
/* rgb */ color: rgb(107, 138, 35);
/* oklch */ color: oklch(58.9% 0.132 125.1);
Tailwind
colors: {
  custom: {
    50: '#99ac66',
    500: '#6b8a23',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a23;
$custom-light: #99ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a23",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 78.058,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58944,
    "c": 0.13221,
    "h": 125.1
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#6B8A23
secondary
#7051B7
accent
#45E375
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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