#51550F#51550F

#51550F is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.2% C 0.089 H 112.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#51550F
RGBrgb(81, 85, 15)
HSLhsl(63, 70%, 20%)
HSVhsv(63, 82%, 33%)
CMYKcmyk(4.7%, 0%, 82.4%, 66.7%)
CIE-LABlab(34.56, -11.10, 37.23)
CIE-LCHlch(34.56, 38.85, 106.60°)
OKLaboklab(43.21% -0.0345 0.0816)
OKLCHoklch(43.21% 0.089 112.9)
XYZxyz(6.7283, 8.2810, 1.6958)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51550F #130F55
analogous
#55360F #51550F #2E550F
triadic
#51550F #0F5155 #550F51
tetradic
#51550F #0F5536 #130F55 #550F2E
square
#51550F #0F5536 #130F55 #550F2E
split-complementary
#51550F #0F2E55 #360F55
monochromatic
#191A05 #1F2106 #51550F #838918 #B4BD21

Accessibility & contrast

On white

7.91
#51550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#51550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51550F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51550F#FFFFFF#000000##FFFFFF
##51550F1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5101
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#574F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #51550f;
/* rgb */ color: rgb(81, 85, 15);
/* oklch */ color: oklch(43.2% 0.089 112.9);
Tailwind
colors: {
  custom: {
    50: '#848454',
    500: '#51550f',
    950: '#000000',
  },
}
SCSS
$custom: #51550f;
$custom-light: #848454;
$custom-dark: #000000;
JSON
{
  "hex": "#51550f",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 63.429,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.08858,
    "h": 112.9
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#51550F
secondary
#36318F
accent
#3BED45
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51550F

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

Preview Lab → · Contrast checker → · Palette generator →

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