#51490F#51490F

#51490F is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.2% C 0.075 H 101.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#51490F
RGBrgb(81, 73, 15)
HSLhsl(53, 69%, 19%)
HSVhsv(53, 81%, 32%)
CMYKcmyk(0%, 9.9%, 81.5%, 68.2%)
CIE-LABlab(30.76, -3.99, 33.68)
CIE-LCHlch(30.76, 33.92, 96.76°)
OKLaboklab(40.17% -0.0146 0.0741)
OKLCHoklch(40.17% 0.075 101.1)
XYZxyz(5.8624, 6.5492, 1.4072)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51490F #0F1751
analogous
#51280F #51490F #38510F
triadic
#51490F #0F5149 #490F51
tetradic
#51490F #0F5128 #0F1751 #510F38
square
#51490F #0F5128 #0F1751 #510F38
split-complementary
#51490F #0F3851 #280F51
monochromatic
#1A1705 #1D1A05 #51490F #857819 #B8A622

Accessibility & contrast

On white

9.09
#51490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#51490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51490F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51490F#FFFFFF#000000##FFFFFF
##51490F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514705
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#58433E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #51490f;
/* rgb */ color: rgb(81, 73, 15);
/* oklch */ color: oklch(40.2% 0.075 101.1);
Tailwind
colors: {
  custom: {
    50: '#857b52',
    500: '#51490f',
    950: '#000000',
  },
}
SCSS
$custom: #51490f;
$custom-light: #857b52;
$custom-dark: #000000;
JSON
{
  "hex": "#51490f",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 52.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40173,
    "c": 0.07548,
    "h": 101.1
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#51490F
secondary
#313C8B
accent
#51EC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #51490F

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

Preview Lab → · Contrast checker → · Palette generator →

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