#23310B#23310B

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

Color values

HEX#23310B
RGBrgb(35, 49, 11)
HSLhsl(82, 63%, 12%)
HSVhsv(82, 78%, 19%)
CMYKcmyk(28.6%, 0%, 77.6%, 80.8%)
CIE-LABlab(18.27, -13.16, 21.25)
CIE-LCHlch(18.27, 24.99, 121.78°)
OKLaboklab(29.09% -0.0375 0.0494)
OKLCHoklch(29.09% 0.062 127.2)
XYZxyz(1.8519, 2.5781, 0.7166)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23310B #190B31
analogous
#312C0B #23310B #10310B
triadic
#23310B #0B2331 #310B23
tetradic
#23310B #0B312C #190B31 #310B10
square
#23310B #0B312C #190B31 #310B10
split-complementary
#23310B #0B1031 #2C0B31
monochromatic
#121906 #121906 #23310B #476316 #6A9521

Accessibility & contrast

On white

13.86
#23310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23310B
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23310B#FFFFFF#000000##FFFFFF
##23310B1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23310b;
/* rgb */ color: rgb(35, 49, 11);
/* oklch */ color: oklch(29.1% 0.062 127.2);
Tailwind
colors: {
  custom: {
    50: '#5f694c',
    500: '#23310b',
    950: '#000000',
  },
}
SCSS
$custom: #23310b;
$custom-light: #5f694c;
$custom-dark: #000000;
JSON
{
  "hex": "#23310b",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 82.105,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29093,
    "c": 0.062,
    "h": 127.2
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#23310B
secondary
#432A6E
accent
#41E67E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #23310B

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

Preview Lab → · Contrast checker → · Palette generator →

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