#515612#515612

#515612 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.088 H 113.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#515612
RGBrgb(81, 86, 18)
HSLhsl(64, 65%, 20%)
HSVhsv(64, 79%, 34%)
CMYKcmyk(5.8%, 0%, 79.1%, 66.3%)
CIE-LABlab(34.90, -11.52, 36.41)
CIE-LCHlch(34.90, 38.19, 107.56°)
OKLaboklab(43.49% -0.0354 0.0805)
OKLCHoklch(43.49% 0.088 113.7)
XYZxyz(6.8305, 8.4487, 1.8431)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515612 #171256
analogous
#563912 #515612 #2F5612
triadic
#515612 #125156 #561251
tetradic
#515612 #125639 #171256 #56122F
square
#515612 #125639 #171256 #56122F
split-complementary
#515612 #122F56 #391256
monochromatic
#181905 #212307 #515612 #81891D #B0BB27

Accessibility & contrast

On white

7.81
#515612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#515612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515612
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515612#FFFFFF#000000##FFFFFF
##5156121.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#5D5318
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #515612;
/* rgb */ color: rgb(81, 86, 18);
/* oklch */ color: oklch(43.5% 0.088 113.7);
Tailwind
colors: {
  custom: {
    50: '#848556',
    500: '#515612',
    950: '#000000',
  },
}
SCSS
$custom: #515612;
$custom-light: #848556;
$custom-dark: #000000;
JSON
{
  "hex": "#515612",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 64.412,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43485,
    "c": 0.08789,
    "h": 113.7
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#515612
secondary
#3C358F
accent
#3FE84C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515612

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

Preview Lab → · Contrast checker → · Palette generator →

#515612 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva