#51500F#51500F

#51500F is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.083 H 108.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#51500F
RGBrgb(81, 80, 15)
HSLhsl(59, 69%, 19%)
HSVhsv(59, 81%, 32%)
CMYKcmyk(0%, 1.2%, 81.5%, 68.2%)
CIE-LABlab(32.97, -8.19, 35.75)
CIE-LCHlch(32.97, 36.68, 102.90°)
OKLaboklab(41.93% -0.0264 0.0785)
OKLCHoklch(41.93% 0.083 108.6)
XYZxyz(6.3485, 7.5213, 1.5692)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51500F #0F1051
analogous
#512F0F #51500F #31510F
triadic
#51500F #0F5150 #500F51
tetradic
#51500F #0F512F #0F1051 #510F31
square
#51500F #0F512F #0F1051 #510F31
split-complementary
#51500F #0F3151 #2F0F51
monochromatic
#1A1A05 #1D1D05 #51500F #858319 #B8B622

Accessibility & contrast

On white

8.39
#51500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#51500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51500F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51500F#FFFFFF#000000##FFFFFF
##51500F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#574A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #51500f;
/* rgb */ color: rgb(81, 80, 15);
/* oklch */ color: oklch(41.9% 0.083 108.6);
Tailwind
colors: {
  custom: {
    50: '#848053',
    500: '#51500f',
    950: '#000000',
  },
}
SCSS
$custom: #51500f;
$custom-light: #848053;
$custom-dark: #000000;
JSON
{
  "hex": "#51500f",
  "rgb": {
    "r": 81,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 59.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.08277,
    "h": 108.6
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#51500F
secondary
#31328B
accent
#3FEC3C
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #51500F

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

Preview Lab → · Contrast checker → · Palette generator →

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