#23340B#23340B

#23340B is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.067 H 129.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#23340B
RGBrgb(35, 52, 11)
HSLhsl(85, 65%, 12%)
HSVhsv(85, 79%, 20%)
CMYKcmyk(32.7%, 0%, 78.8%, 79.6%)
CIE-LABlab(19.38, -14.89, 22.55)
CIE-LCHlch(19.38, 27.02, 123.44°)
OKLaboklab(30% -0.0422 0.0519)
OKLCHoklch(30% 0.067 129.1)
XYZxyz(1.9815, 2.8374, 0.7598)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23340B #1C0B34
analogous
#34310B #23340B #0F340B
triadic
#23340B #0B2334 #340B23
tetradic
#23340B #0B3431 #1C0B34 #340B0F
square
#23340B #0B3431 #1C0B34 #340B0F
split-complementary
#23340B #0B0F34 #310B34
monochromatic
#111905 #111905 #23340B #456716 #679920

Accessibility & contrast

On white

13.40
#23340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23340B
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23340B#FFFFFF#000000##FFFFFF
##23340B1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#342F0E
Tritanopia (blue-blind)
#24312C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23340b;
/* rgb */ color: rgb(35, 52, 11);
/* oklch */ color: oklch(30.0% 0.067 129.1);
Tailwind
colors: {
  custom: {
    50: '#5f6b4c',
    500: '#23340b',
    950: '#000000',
  },
}
SCSS
$custom: #23340b;
$custom-light: #5f6b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#23340b",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 84.878,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29995,
    "c": 0.06689,
    "h": 129.1
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#23340B
secondary
#472A71
accent
#40E886
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #23340B

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

Preview Lab → · Contrast checker → · Palette generator →

#23340B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva