#23340C#23340C

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

Color values

HEX#23340C
RGBrgb(35, 52, 12)
HSLhsl(86, 63%, 13%)
HSVhsv(86, 77%, 20%)
CMYKcmyk(32.7%, 0%, 76.9%, 79.6%)
CIE-LABlab(19.39, -14.79, 22.12)
CIE-LCHlch(19.39, 26.61, 123.78°)
OKLaboklab(30.01% -0.0419 0.051)
OKLCHoklch(30.01% 0.066 129.4)
XYZxyz(1.9875, 2.8398, 0.7912)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23340C #1D0C34
analogous
#34310C #23340C #0F340C
triadic
#23340C #0C2334 #340C23
tetradic
#23340C #0C3431 #1D0C34 #340C0F
square
#23340C #0C3431 #1D0C34 #340C0F
split-complementary
#23340C #0C0F34 #310C34
monochromatic
#111906 #111906 #23340C #446617 #669723

Accessibility & contrast

On white

13.39
#23340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23340C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23340C#FFFFFF#000000##FFFFFF
##23340C1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23340c;
/* rgb */ color: rgb(35, 52, 12);
/* oklch */ color: oklch(30.0% 0.066 129.4);
Tailwind
colors: {
  custom: {
    50: '#5f6b4d',
    500: '#23340c',
    950: '#000000',
  },
}
SCSS
$custom: #23340c;
$custom-light: #5f6b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#23340c",
  "rgb": {
    "r": 35,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 85.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30006,
    "c": 0.06596,
    "h": 129.4
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#23340C
secondary
#492C70
accent
#42E688
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #23340C

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

Preview Lab → · Contrast checker → · Palette generator →

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