#23420D#23420D

#23420D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.2% C 0.087 H 135.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#23420D
RGBrgb(35, 66, 13)
HSLhsl(95, 67%, 15%)
HSVhsv(95, 80%, 26%)
CMYKcmyk(47%, 0%, 80.3%, 74.1%)
CIE-LABlab(24.58, -22.11, 27.21)
CIE-LCHlch(24.58, 35.06, 129.10°)
OKLaboklab(34.25% -0.0617 0.0615)
OKLCHoklch(34.25% 0.087 135.1)
XYZxyz(2.7139, 4.2827, 1.0643)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23420D #2C0D42
analogous
#3D420D #23420D #0D4211
triadic
#23420D #0D2342 #420D23
tetradic
#23420D #0D3D42 #2C0D42 #42110D
square
#23420D #0D3D42 #2C0D42 #42110D
split-complementary
#23420D #110D42 #420D3D
monochromatic
#0E1A05 #0E1A05 #23420D #3E7517 #59A821

Accessibility & contrast

On white

11.31
#23420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#23420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23420D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23420D#FFFFFF#000000##FFFFFF
##23420D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#413912
Tritanopia (blue-blind)
#223F38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23420d;
/* rgb */ color: rgb(35, 66, 13);
/* oklch */ color: oklch(34.2% 0.087 135.1);
Tailwind
colors: {
  custom: {
    50: '#61764f',
    500: '#23420d',
    950: '#000000',
  },
}
SCSS
$custom: #23420d;
$custom-light: #61764f;
$custom-dark: #000000;
JSON
{
  "hex": "#23420d",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 95.094,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34246,
    "c": 0.08712,
    "h": 135.1
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#23420D
secondary
#5C2D7E
accent
#3EEAA3
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #23420D

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

Preview Lab → · Contrast checker → · Palette generator →

#23420D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva