#6B9B23#6B9B23

#6B9B23 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.2% C 0.154 H 129.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6B9B23
RGBrgb(107, 155, 35)
HSLhsl(84, 63%, 37%)
HSVhsv(84, 77%, 61%)
CMYKcmyk(31%, 0%, 77.4%, 39.2%)
CIE-LABlab(58.69, -34.32, 53.57)
CIE-LCHlch(58.69, 63.62, 122.65°)
OKLaboklab(63.23% -0.098 0.1188)
OKLCHoklch(63.23% 0.154 129.5)
XYZxyz(18.0881, 26.6893, 5.7883)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9B23 #53239B
analogous
#9B8F23 #6B9B23 #2F9B23
triadic
#6B9B23 #236B9B #9B236B
tetradic
#6B9B23 #239B8F #53239B #9B232F
square
#6B9B23 #239B8F #53239B #9B232F
split-complementary
#6B9B23 #232F9B #8F239B
monochromatic
#26370C #496918 #6B9B23 #8DCD2E #A9DB5E

Accessibility & contrast

On white

3.31
#6B9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#6B9B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9B23
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9B23#FFFFFF#000000##000000
##6B9B231.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F04
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#6E9484
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6b9b23;
/* rgb */ color: rgb(107, 155, 35);
/* oklch */ color: oklch(63.2% 0.154 129.5);
Tailwind
colors: {
  custom: {
    50: '#9ab868',
    500: '#6b9b23',
    950: '#000000',
  },
}
SCSS
$custom: #6b9b23;
$custom-light: #9ab868;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9b23",
  "rgb": {
    "r": 107,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 84,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.15402,
    "h": 129.5
  },
  "luminance": 0.2669
}

Semantic roles & 50–950 ramp

primary
#6B9B23
secondary
#835ABF
accent
#42E683
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6B9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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