#6B9923#6B9923

#6B9923 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.7% C 0.151 H 129.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6B9923
RGBrgb(107, 153, 35)
HSLhsl(83, 63%, 37%)
HSVhsv(83, 77%, 60%)
CMYKcmyk(30.1%, 0%, 77.1%, 40%)
CIE-LABlab(58.06, -33.41, 52.98)
CIE-LCHlch(58.06, 62.63, 122.23°)
OKLaboklab(62.72% -0.0955 0.1176)
OKLCHoklch(62.72% 0.151 129.1)
XYZxyz(17.7580, 26.0291, 5.6783)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9923 #512399
analogous
#998C23 #6B9923 #309923
triadic
#6B9923 #236B99 #99236B
tetradic
#6B9923 #23998C #512399 #992330
square
#6B9923 #23998C #512399 #992330
split-complementary
#6B9923 #233099 #8C2399
monochromatic
#25350C #486718 #6B9923 #8ECB2E #A9DA5D

Accessibility & contrast

On white

3.38
#6B9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#6B9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9923
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9923#FFFFFF#000000##000000
##6B99231.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E06
Deuteranopia (green-blind)
#9A8B2F
Tritanopia (blue-blind)
#6E9283
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6b9923;
/* rgb */ color: rgb(107, 153, 35);
/* oklch */ color: oklch(62.7% 0.151 129.1);
Tailwind
colors: {
  custom: {
    50: '#99b767',
    500: '#6b9923',
    950: '#000000',
  },
}
SCSS
$custom: #6b9923;
$custom-light: #99b767;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9923",
  "rgb": {
    "r": 107,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 83.39,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62722,
    "c": 0.15147,
    "h": 129.1
  },
  "luminance": 0.2603
}

Semantic roles & 50–950 ramp

primary
#6B9923
secondary
#8159BE
accent
#42E682
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6B9923

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

Preview Lab → · Contrast checker → · Palette generator →

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