#51430C#51430C

#51430C is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.7% C 0.072 H 93.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#51430C
RGBrgb(81, 67, 12)
HSLhsl(48, 74%, 18%)
HSVhsv(48, 85%, 32%)
CMYKcmyk(0%, 17.3%, 85.2%, 68.2%)
CIE-LABlab(28.88, -0.43, 33.15)
CIE-LCHlch(28.88, 33.15, 90.74°)
OKLaboklab(38.68% -0.0048 0.0722)
OKLCHoklch(38.68% 0.072 93.8)
XYZxyz(5.4672, 5.7905, 1.1775)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51430C #0C1A51
analogous
#51200C #51430C #3C510C
triadic
#51430C #0C5143 #430C51
tetradic
#51430C #0C5120 #0C1A51 #510C3C
square
#51430C #0C5120 #0C1A51 #510C3C
split-complementary
#51430C #0C3C51 #200C51
monochromatic
#1B1604 #1C1704 #51430C #866F14 #BC9B1C

Accessibility & contrast

On white

9.73
#51430C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#51430C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51430C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51430C#FFFFFF#000000##FFFFFF
##51430C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4203
Deuteranopia (green-blind)
#4F4610
Tritanopia (blue-blind)
#583D39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #51430c;
/* rgb */ color: rgb(81, 67, 12);
/* oklch */ color: oklch(38.7% 0.072 93.8);
Tailwind
colors: {
  custom: {
    50: '#857650',
    500: '#51430c',
    950: '#000000',
  },
}
SCSS
$custom: #51430c;
$custom-light: #857650;
$custom-dark: #000000;
JSON
{
  "hex": "#51430c",
  "rgb": {
    "r": 81,
    "g": 67,
    "b": 12
  },
  "hsl": {
    "h": 47.826,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38677,
    "c": 0.07238,
    "h": 93.8
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#51430C
secondary
#2C408C
accent
#5DF137
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #51430C

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

Preview Lab → · Contrast checker → · Palette generator →

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