#51530C#51530C

#51530C is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.7% C 0.088 H 111.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#51530C
RGBrgb(81, 83, 12)
HSLhsl(62, 75%, 19%)
HSVhsv(62, 86%, 33%)
CMYKcmyk(2.4%, 0%, 85.5%, 67.5%)
CIE-LABlab(33.90, -10.08, 37.68)
CIE-LCHlch(33.90, 39.01, 104.98°)
OKLaboklab(42.68% -0.0319 0.0819)
OKLCHoklch(42.68% 0.088 111.3)
XYZxyz(6.5532, 7.9626, 1.5395)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51530C #0E0C53
analogous
#53310C #51530C #2D530C
triadic
#51530C #0C5153 #530C51
tetradic
#51530C #0C5331 #0E0C53 #530C2D
square
#51530C #0C5331 #0E0C53 #530C2D
split-complementary
#51530C #0C2D53 #310C53
monochromatic
#1A1B04 #1D1E04 #51530C #858814 #B9BE1B

Accessibility & contrast

On white

8.10
#51530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#51530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51530C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51530C#FFFFFF#000000##FFFFFF
##51530C1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#574D46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #51530c;
/* rgb */ color: rgb(81, 83, 12);
/* oklch */ color: oklch(42.7% 0.088 111.3);
Tailwind
colors: {
  custom: {
    50: '#858352',
    500: '#51530c',
    950: '#000000',
  },
}
SCSS
$custom: #51530c;
$custom-light: #858352;
$custom-dark: #000000;
JSON
{
  "hex": "#51530c",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 61.69,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.08794,
    "h": 111.3
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#51530C
secondary
#2F2D8E
accent
#36F13C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51530C

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

Preview Lab → · Contrast checker → · Palette generator →

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