#23420F#23420F

#23420F is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.086 H 135.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#23420F
RGBrgb(35, 66, 15)
HSLhsl(96, 63%, 16%)
HSVhsv(96, 77%, 26%)
CMYKcmyk(47%, 0%, 77.3%, 74.1%)
CIE-LABlab(24.60, -21.93, 26.30)
CIE-LCHlch(24.60, 34.25, 129.82°)
OKLaboklab(34.27% -0.061 0.0599)
OKLCHoklch(34.27% 0.086 135.5)
XYZxyz(2.7275, 4.2881, 1.1358)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23420F #2E0F42
analogous
#3C420F #23420F #0F4214
triadic
#23420F #0F2342 #420F23
tetradic
#23420F #0F3C42 #2E0F42 #42140F
square
#23420F #0F3C42 #2E0F42 #42140F
split-complementary
#23420F #140F42 #420F3C
monochromatic
#0D1906 #0D1906 #23420F #3D741A #58A626

Accessibility & contrast

On white

11.30
#23420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23420F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23420F#FFFFFF#000000##FFFFFF
##23420F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23420f;
/* rgb */ color: rgb(35, 66, 15);
/* oklch */ color: oklch(34.3% 0.086 135.5);
Tailwind
colors: {
  custom: {
    50: '#617650',
    500: '#23420f',
    950: '#000000',
  },
}
SCSS
$custom: #23420f;
$custom-light: #617650;
$custom-dark: #000000;
JSON
{
  "hex": "#23420f",
  "rgb": {
    "r": 35,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 96.471,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34265,
    "c": 0.08554,
    "h": 135.5
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#23420F
secondary
#5F307C
accent
#42E6A6
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #23420F

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

Preview Lab → · Contrast checker → · Palette generator →

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