#51230F#51230F

#51230F is a dark, moderate orange. Relative luminance 0.030; OKLCH L 31.8% C 0.076 H 42.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#51230F
RGBrgb(81, 35, 15)
HSLhsl(18, 69%, 19%)
HSVhsv(18, 81%, 32%)
CMYKcmyk(0%, 56.8%, 81.5%, 68.2%)
CIE-LABlab(19.99, 19.96, 22.83)
CIE-LCHlch(19.99, 30.32, 48.84°)
OKLaboklab(31.77% 0.0556 0.0512)
OKLCHoklch(31.77% 0.076 42.6)
XYZxyz(4.0810, 2.9864, 0.8134)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51230F #0F3D51
analogous
#510F1C #51230F #51440F
triadic
#51230F #0F5123 #230F51
tetradic
#51230F #1C510F #0F3D51 #440F51
square
#51230F #1C510F #0F3D51 #440F51
split-complementary
#51230F #0F5144 #0F1C51
monochromatic
#1A0B05 #1D0D05 #51230F #853919 #B85022

Accessibility & contrast

On white

13.15
#51230F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#51230F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51230F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51230F#FFFFFF#000000##FFFFFF
##51230F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0D
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#5A191F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #51230f;
/* rgb */ color: rgb(81, 35, 15);
/* oklch */ color: oklch(31.8% 0.076 42.6);
Tailwind
colors: {
  custom: {
    50: '#875f4e',
    500: '#51230f',
    950: '#000000',
  },
}
SCSS
$custom: #51230f;
$custom-light: #875f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#51230f",
  "rgb": {
    "r": 81,
    "g": 35,
    "b": 15
  },
  "hsl": {
    "h": 18.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.07557,
    "h": 42.6
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#51230F
secondary
#31708B
accent
#B6EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #51230F

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

Preview Lab → · Contrast checker → · Palette generator →

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