#6B9823#6B9823

#6B9823 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.5% C 0.150 H 128.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6B9823
RGBrgb(107, 152, 35)
HSLhsl(83, 63%, 37%)
HSVhsv(83, 77%, 60%)
CMYKcmyk(29.6%, 0%, 77%, 40.4%)
CIE-LABlab(57.75, -32.94, 52.68)
CIE-LCHlch(57.75, 62.13, 122.02°)
OKLaboklab(62.47% -0.0942 0.117)
OKLCHoklch(62.47% 0.15 128.9)
XYZxyz(17.5950, 25.7032, 5.6240)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9823 #502398
analogous
#988B23 #6B9823 #319823
triadic
#6B9823 #236B98 #98236B
tetradic
#6B9823 #23988B #502398 #982331
square
#6B9823 #23988B #502398 #982331
split-complementary
#6B9823 #233198 #8B2398
monochromatic
#25350C #486618 #6B9823 #8ECA2E #A9D95C

Accessibility & contrast

On white

3.42
#6B9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#6B9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9823
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9823#FFFFFF#000000##000000
##6B98231.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D07
Deuteranopia (green-blind)
#998A2F
Tritanopia (blue-blind)
#6F9182
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6b9823;
/* rgb */ color: rgb(107, 152, 35);
/* oklch */ color: oklch(62.5% 0.150 128.9);
Tailwind
colors: {
  custom: {
    50: '#99b667',
    500: '#6b9823',
    950: '#000000',
  },
}
SCSS
$custom: #6b9823;
$custom-light: #99b667;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9823",
  "rgb": {
    "r": 107,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 83.077,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.1502,
    "h": 128.9
  },
  "luminance": 0.25704
}

Semantic roles & 50–950 ramp

primary
#6B9823
secondary
#8059BE
accent
#42E681
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9823

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

Preview Lab → · Contrast checker → · Palette generator →

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