#23420C#23420C

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

Color values

HEX#23420C
RGBrgb(35, 66, 12)
HSLhsl(94, 69%, 15%)
HSVhsv(94, 82%, 26%)
CMYKcmyk(47%, 0%, 81.8%, 74.1%)
CIE-LABlab(24.58, -22.19, 27.65)
CIE-LCHlch(24.58, 35.45, 128.76°)
OKLaboklab(34.24% -0.062 0.0622)
OKLCHoklch(34.24% 0.088 134.9)
XYZxyz(2.7077, 4.2802, 1.0312)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23420C #2B0C42
analogous
#3E420C #23420C #0C4210
triadic
#23420C #0C2342 #420C23
tetradic
#23420C #0C3E42 #2B0C42 #42100C
square
#23420C #0C3E42 #2B0C42 #42100C
split-complementary
#23420C #100C42 #420C3E
monochromatic
#0E1A05 #0E1A05 #23420C #3E7615 #5AAA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23420C#FFFFFF#000000##FFFFFF
##23420C1.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)
#453C04
Deuteranopia (green-blind)
#413911
Tritanopia (blue-blind)
#223F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #23420c;
/* rgb */ color: rgb(35, 66, 12);
/* oklch */ color: oklch(34.2% 0.088 134.9);
Tailwind
colors: {
  custom: {
    50: '#61764f',
    500: '#23420c',
    950: '#000000',
  },
}
SCSS
$custom: #23420c;
$custom-light: #61764f;
$custom-dark: #000000;
JSON
{
  "hex": "#23420c",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 94.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34237,
    "c": 0.08786,
    "h": 134.9
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#23420C
secondary
#5B2C7E
accent
#3CECA1
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #23420C

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

Preview Lab → · Contrast checker → · Palette generator →

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