#23310C#23310C

#23310C is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.1% C 0.061 H 127.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#23310C
RGBrgb(35, 49, 12)
HSLhsl(83, 61%, 12%)
HSVhsv(83, 76%, 19%)
CMYKcmyk(28.6%, 0%, 75.5%, 80.8%)
CIE-LABlab(18.28, -13.07, 20.82)
CIE-LCHlch(18.28, 24.58, 122.12°)
OKLaboklab(29.1% -0.0371 0.0485)
OKLCHoklch(29.1% 0.061 127.4)
XYZxyz(1.8578, 2.5805, 0.7480)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23310C #1A0C31
analogous
#312D0C #23310C #11310C
triadic
#23310C #0C2331 #310C23
tetradic
#23310C #0C312D #1A0C31 #310C11
square
#23310C #0C312D #1A0C31 #310C11
split-complementary
#23310C #0C1131 #2D0C31
monochromatic
#121906 #121906 #23310C #466218 #699324

Accessibility & contrast

On white

13.85
#23310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#23310C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23310C
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23310C#FFFFFF#000000##FFFFFF
##23310C1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D08
Deuteranopia (green-blind)
#322C0F
Tritanopia (blue-blind)
#252E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #23310c;
/* rgb */ color: rgb(35, 49, 12);
/* oklch */ color: oklch(29.1% 0.061 127.4);
Tailwind
colors: {
  custom: {
    50: '#5f694d',
    500: '#23310c',
    950: '#000000',
  },
}
SCSS
$custom: #23310c;
$custom-light: #5f694d;
$custom-dark: #000000;
JSON
{
  "hex": "#23310c",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 82.703,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29104,
    "c": 0.06102,
    "h": 127.4
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#23310C
secondary
#452C6D
accent
#44E480
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #23310C

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

Preview Lab → · Contrast checker → · Palette generator →

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