#51530F#51530F

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

Color values

HEX#51530F
RGBrgb(81, 83, 15)
HSLhsl(62, 69%, 19%)
HSVhsv(62, 82%, 33%)
CMYKcmyk(2.4%, 0%, 81.9%, 67.5%)
CIE-LABlab(33.92, -9.95, 36.64)
CIE-LCHlch(33.92, 37.96, 105.19°)
OKLaboklab(42.7% -0.0313 0.0803)
OKLCHoklch(42.7% 0.086 111.3)
XYZxyz(6.5730, 7.9705, 1.6441)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51530F #110F53
analogous
#53330F #51530F #2F530F
triadic
#51530F #0F5153 #530F51
tetradic
#51530F #0F5333 #110F53 #530F2F
square
#51530F #0F5333 #110F53 #530F2F
split-complementary
#51530F #0F2F53 #330F53
monochromatic
#191A05 #1E1F06 #51530F #848718 #B6BB22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51530F#FFFFFF#000000##FFFFFF
##51530F1.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)
#5A4F02
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#574D46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #51530f;
/* rgb */ color: rgb(81, 83, 15);
/* oklch */ color: oklch(42.7% 0.086 111.3);
Tailwind
colors: {
  custom: {
    50: '#848354',
    500: '#51530f',
    950: '#000000',
  },
}
SCSS
$custom: #51530f;
$custom-light: #848354;
$custom-dark: #000000;
JSON
{
  "hex": "#51530f",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 61.765,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42695,
    "c": 0.08621,
    "h": 111.3
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#51530F
secondary
#34318D
accent
#3CEC41
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51530F

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

Preview Lab → · Contrast checker → · Palette generator →

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