#51450C#51450C

#51450C is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.2% C 0.074 H 96.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#51450C
RGBrgb(81, 69, 12)
HSLhsl(50, 74%, 18%)
HSVhsv(50, 85%, 32%)
CMYKcmyk(0%, 14.8%, 85.2%, 68.2%)
CIE-LABlab(29.49, -1.67, 33.71)
CIE-LCHlch(29.49, 33.75, 92.84°)
OKLaboklab(39.17% -0.0084 0.0734)
OKLCHoklch(39.17% 0.074 96.5)
XYZxyz(5.5881, 6.0324, 1.2178)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51450C #0C1851
analogous
#51220C #51450C #3A510C
triadic
#51450C #0C5145 #450C51
tetradic
#51450C #0C5122 #0C1851 #510C3A
square
#51450C #0C5122 #0C1851 #510C3A
split-complementary
#51450C #0C3A51 #220C51
monochromatic
#1B1704 #1C1804 #51450C #867214 #BCA01C

Accessibility & contrast

On white

9.52
#51450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#51450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51450C
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51450C#FFFFFF#000000##FFFFFF
##51450C1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4302
Deuteranopia (green-blind)
#504710
Tritanopia (blue-blind)
#583F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #51450c;
/* rgb */ color: rgb(81, 69, 12);
/* oklch */ color: oklch(39.2% 0.074 96.5);
Tailwind
colors: {
  custom: {
    50: '#857850',
    500: '#51450c',
    950: '#000000',
  },
}
SCSS
$custom: #51450c;
$custom-light: #857850;
$custom-dark: #000000;
JSON
{
  "hex": "#51450c",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 49.565,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.07391,
    "h": 96.5
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#51450C
secondary
#2C3D8C
accent
#57F137
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #51450C

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

Preview Lab → · Contrast checker → · Palette generator →

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