#51230C#51230C

#51230C is a dark, moderate orange. Relative luminance 0.030; OKLCH L 31.7% C 0.077 H 44.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#51230C
RGBrgb(81, 35, 12)
HSLhsl(20, 74%, 18%)
HSVhsv(20, 85%, 32%)
CMYKcmyk(0%, 56.8%, 85.2%, 68.2%)
CIE-LABlab(19.96, 19.81, 24.27)
CIE-LCHlch(19.96, 31.33, 50.78°)
OKLaboklab(31.74% 0.0546 0.054)
OKLCHoklch(31.74% 0.077 44.7)
XYZxyz(4.0611, 2.9784, 0.7088)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51230C #0C3A51
analogous
#510C17 #51230C #51450C
triadic
#51230C #0C5123 #230C51
tetradic
#51230C #17510C #0C3A51 #450C51
square
#51230C #17510C #0C3A51 #450C51
split-complementary
#51230C #0C5145 #0C1751
monochromatic
#1B0C04 #1C0C04 #51230C #863A14 #BC511C

Accessibility & contrast

On white

13.16
#51230C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51230C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51230C#FFFFFF#000000##FFFFFF
##51230C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A09
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#5A191E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #51230c;
/* rgb */ color: rgb(81, 35, 12);
/* oklch */ color: oklch(31.7% 0.077 44.7);
Tailwind
colors: {
  custom: {
    50: '#875f4c',
    500: '#51230c',
    950: '#000000',
  },
}
SCSS
$custom: #51230c;
$custom-light: #875f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#51230c",
  "rgb": {
    "r": 81,
    "g": 35,
    "b": 12
  },
  "hsl": {
    "h": 20,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31739,
    "c": 0.07675,
    "h": 44.7
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#51230C
secondary
#2C6C8C
accent
#B3F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #51230C

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

Preview Lab → · Contrast checker → · Palette generator →

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