#28230B#28230B

#28230B is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.5% C 0.039 H 97.7°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#28230B
RGBrgb(40, 35, 11)
HSLhsl(50, 57%, 10%)
HSVhsv(50, 73%, 16%)
CMYKcmyk(0%, 12.5%, 72.5%, 84.3%)
CIE-LABlab(13.69, -1.56, 15.61)
CIE-LCHlch(13.69, 15.69, 95.72°)
OKLaboklab(25.55% -0.0052 0.0388)
OKLCHoklch(25.55% 0.039 97.7)
XYZxyz(1.5366, 1.6774, 0.5594)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28230B #0B1028
analogous
#28140B #28230B #1F280B
triadic
#28230B #0B2823 #230B28
tetradic
#28230B #0B2814 #0B1028 #280B1F
square
#28230B #0B2814 #0B1028 #280B1F
split-complementary
#28230B #0B1F28 #140B28
monochromatic
#181507 #181507 #28230B #584D18 #887725

Accessibility & contrast

On white

15.73
#28230B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#28230B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28230B
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28230B#FFFFFF#000000##FFFFFF
##28230B1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272209
Deuteranopia (green-blind)
#28240C
Tritanopia (blue-blind)
#2C201E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #28230b;
/* rgb */ color: rgb(40, 35, 11);
/* oklch */ color: oklch(25.5% 0.039 97.7);
Tailwind
colors: {
  custom: {
    50: '#635d4c',
    500: '#28230b',
    950: '#000000',
  },
}
SCSS
$custom: #28230b;
$custom-light: #635d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#28230b",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 11
  },
  "hsl": {
    "h": 49.655,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.25546,
    "c": 0.03916,
    "h": 97.7
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#28230B
secondary
#2B3564
accent
#62E048
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #28230B

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

Preview Lab → · Contrast checker → · Palette generator →

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