#231B02#231B02

#231B02 is a very dark, muted yellow. Relative luminance 0.011; OKLCH L 22.6% C 0.043 H 92.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#231B02
RGBrgb(35, 27, 2)
HSLhsl(45, 89%, 7%)
HSVhsv(45, 94%, 14%)
CMYKcmyk(0%, 22.9%, 94.3%, 86.3%)
CIE-LABlab(10.15, 0.25, 14.34)
CIE-LCHlch(10.15, 14.34, 89.00°)
OKLaboklab(22.56% -0.0016 0.0428)
OKLCHoklch(22.56% 0.043 92.1)
XYZxyz(1.0961, 1.1456, 0.2208)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B02 #020A23
analogous
#230B02 #231B02 #1B2302
triadic
#231B02 #02231B #1B0223
tetradic
#231B02 #02230B #020A23 #23021B
square
#231B02 #02230B #020A23 #23021B
split-complementary
#231B02 #021B23 #0B0223
monochromatic
#1D1602 #1D1602 #231B02 #5D4805 #977409

Accessibility & contrast

On white

17.08
#231B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#231B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B02
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B02#FFFFFF#000000##FFFFFF
##231B021.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A00
Deuteranopia (green-blind)
#211D03
Tritanopia (blue-blind)
#271816
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #231b02;
/* rgb */ color: rgb(35, 27, 2);
/* oklch */ color: oklch(22.6% 0.043 92.1);
Tailwind
colors: {
  custom: {
    50: '#5e5747',
    500: '#231b02',
    950: '#000000',
  },
}
SCSS
$custom: #231b02;
$custom-light: #5e5747;
$custom-dark: #000000;
JSON
{
  "hex": "#231b02",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 2
  },
  "hsl": {
    "h": 45.455,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22555,
    "c": 0.04278,
    "h": 92.1
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#231B02
secondary
#182C69
accent
#5DFF29
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040300
muted
#797877

Preview Lab

Preview with #231B02

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

Preview Lab → · Contrast checker → · Palette generator →

#231B02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva