#5A230F#5A230F

#5A230F is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.3% C 0.087 H 39.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5A230F
RGBrgb(90, 35, 15)
HSLhsl(16, 71%, 21%)
HSVhsv(16, 83%, 35%)
CMYKcmyk(0%, 61.1%, 83.3%, 64.7%)
CIE-LABlab(21.62, 23.99, 25.09)
CIE-LCHlch(21.62, 34.71, 46.28°)
OKLaboklab(33.34% 0.067 0.0553)
OKLCHoklch(33.34% 0.087 39.5)
XYZxyz(4.9042, 3.4109, 0.8520)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A230F #0F465A
analogous
#5A0F20 #5A230F #5A480F
triadic
#5A230F #0F5A23 #230F5A
tetradic
#5A230F #205A0F #0F465A #480F5A
square
#5A230F #205A0F #0F465A #480F5A
split-complementary
#5A230F #0F5A48 #0F205A
monochromatic
#1A0A04 #260F06 #5A230F #8E3718 #C34C20

Accessibility & contrast

On white

12.49
#5A230F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5A230F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A230F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A230F#FFFFFF#000000##FFFFFF
##5A230F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#40380D
Tritanopia (blue-blind)
#64171F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5a230f;
/* rgb */ color: rgb(90, 35, 15);
/* oklch */ color: oklch(33.3% 0.087 39.5);
Tailwind
colors: {
  custom: {
    50: '#8e604e',
    500: '#5a230f',
    950: '#000000',
  },
}
SCSS
$custom: #5a230f;
$custom-light: #8e604e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a230f",
  "rgb": {
    "r": 90,
    "g": 35,
    "b": 15
  },
  "hsl": {
    "h": 16,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33335,
    "c": 0.08685,
    "h": 39.5
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#5A230F
secondary
#317994
accent
#BEEE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A230F

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

Preview Lab → · Contrast checker → · Palette generator →

#5A230F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva