#231F03#231F03

#231F03 is a very dark, muted yellow. Relative luminance 0.013; OKLCH L 23.7% C 0.045 H 101.5°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#231F03
RGBrgb(35, 31, 3)
HSLhsl(53, 84%, 7%)
HSVhsv(53, 91%, 14%)
CMYKcmyk(0%, 11.4%, 91.4%, 86.3%)
CIE-LABlab(11.58, -2.46, 15.93)
CIE-LCHlch(11.58, 16.12, 98.79°)
OKLaboklab(23.69% -0.009 0.044)
OKLCHoklch(23.69% 0.045 101.5)
XYZxyz(1.1996, 1.3439, 0.2823)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231F03 #030723
analogous
#230F03 #231F03 #172303
triadic
#231F03 #03231F #1F0323
tetradic
#231F03 #03230F #030723 #230317
square
#231F03 #03230F #030723 #230317
split-complementary
#231F03 #031723 #0F0323
monochromatic
#1C1902 #1C1902 #231F03 #5B5108 #94830D

Accessibility & contrast

On white

16.55
#231F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#231F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231F03
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231F03#FFFFFF#000000##FFFFFF
##231F031.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E01
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#271C19
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #231f03;
/* rgb */ color: rgb(35, 31, 3);
/* oklch */ color: oklch(23.7% 0.045 101.5);
Tailwind
colors: {
  custom: {
    50: '#5e5a48',
    500: '#231f03',
    950: '#000000',
  },
}
SCSS
$custom: #231f03;
$custom-light: #5e5a48;
$custom-dark: #000000;
JSON
{
  "hex": "#231f03",
  "rgb": {
    "r": 35,
    "g": 31,
    "b": 3
  },
  "hsl": {
    "h": 52.5,
    "s": 84.211,
    "l": 7.451
  },
  "oklch": {
    "l": 0.23692,
    "c": 0.04491,
    "h": 101.5
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#231F03
secondary
#1B2467
accent
#47FA2D
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040300
muted
#797877

Preview Lab

Preview with #231F03

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

Preview Lab → · Contrast checker → · Palette generator →

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