#51530E#51530E

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

Color values

HEX#51530E
RGBrgb(81, 83, 14)
HSLhsl(62, 71%, 19%)
HSVhsv(62, 83%, 33%)
CMYKcmyk(2.4%, 0%, 83.1%, 67.5%)
CIE-LABlab(33.92, -9.99, 37.00)
CIE-LCHlch(33.92, 38.32, 105.11°)
OKLaboklab(42.69% -0.0315 0.0809)
OKLCHoklch(42.69% 0.087 111.3)
XYZxyz(6.5661, 7.9677, 1.6074)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51530E #100E53
analogous
#53330E #51530E #2F530E
triadic
#51530E #0E5153 #530E51
tetradic
#51530E #0E5333 #100E53 #530E2F
square
#51530E #0E5333 #100E53 #530E2F
split-complementary
#51530E #0E2F53 #330E53
monochromatic
#1A1A04 #1E1F05 #51530E #848717 #B7BC20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51530E#FFFFFF#000000##FFFFFF
##51530E1.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)
#5B5114
Tritanopia (blue-blind)
#574D46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #51530e;
/* rgb */ color: rgb(81, 83, 14);
/* oklch */ color: oklch(42.7% 0.087 111.3);
Tailwind
colors: {
  custom: {
    50: '#858353',
    500: '#51530e',
    950: '#000000',
  },
}
SCSS
$custom: #51530e;
$custom-light: #858353;
$custom-dark: #000000;
JSON
{
  "hex": "#51530e",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 61.739,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.08681,
    "h": 111.3
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#51530E
secondary
#322F8D
accent
#3AEE3F
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51530E

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

Preview Lab → · Contrast checker → · Palette generator →

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