#23310F#23310F

#23310F is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.1% C 0.058 H 128.3°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#23310F
RGBrgb(35, 49, 15)
HSLhsl(85, 53%, 13%)
HSVhsv(85, 69%, 19%)
CMYKcmyk(28.6%, 0%, 69.4%, 80.8%)
CIE-LABlab(18.31, -12.74, 19.38)
CIE-LCHlch(18.31, 23.19, 123.31°)
OKLaboklab(29.14% -0.0359 0.0454)
OKLCHoklch(29.14% 0.058 128.3)
XYZxyz(1.8777, 2.5884, 0.8525)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23310F #1D0F31
analogous
#312E0F #23310F #12310F
triadic
#23310F #0F2331 #310F23
tetradic
#23310F #0F312E #1D0F31 #310F12
square
#23310F #0F312E #1D0F31 #310F12
split-complementary
#23310F #0F1231 #2E0F31
monochromatic
#111707 #111707 #23310F #44601D #668F2C

Accessibility & contrast

On white

13.84
#23310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23310F
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23310F#FFFFFF#000000##FFFFFF
##23310F1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0B
Deuteranopia (green-blind)
#322C11
Tritanopia (blue-blind)
#242F2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #23310f;
/* rgb */ color: rgb(35, 49, 15);
/* oklch */ color: oklch(29.1% 0.058 128.3);
Tailwind
colors: {
  custom: {
    50: '#5f694e',
    500: '#23310f',
    950: '#000000',
  },
}
SCSS
$custom: #23310f;
$custom-light: #5f694e;
$custom-dark: #000000;
JSON
{
  "hex": "#23310f",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 84.706,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29144,
    "c": 0.05786,
    "h": 128.3
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#23310F
secondary
#49316B
accent
#4BDD87
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #23310F

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

Preview Lab → · Contrast checker → · Palette generator →

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