#515D14#515D14

#515D14 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.095 H 118.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#515D14
RGBrgb(81, 93, 20)
HSLhsl(70, 65%, 22%)
HSVhsv(70, 78%, 36%)
CMYKcmyk(12.9%, 0%, 78.5%, 63.5%)
CIE-LABlab(37.17, -15.34, 37.79)
CIE-LCHlch(37.17, 40.79, 112.09°)
OKLaboklab(45.31% -0.0457 0.0838)
OKLCHoklch(45.31% 0.095 118.6)
XYZxyz(7.4341, 9.6286, 2.1286)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D14 #20145D
analogous
#5D4514 #515D14 #2D5D14
triadic
#515D14 #14515D #5D1451
tetradic
#515D14 #145D45 #20145D #5D142D
square
#515D14 #145D45 #20145D #5D142D
split-complementary
#515D14 #142D5D #45145D
monochromatic
#161905 #252B09 #515D14 #7D8F1F #A9C22A

Accessibility & contrast

On white

7.18
#515D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#515D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D14
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D14#FFFFFF#000000##FFFFFF
##515D141.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645706
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#56584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d14;
/* rgb */ color: rgb(81, 93, 20);
/* oklch */ color: oklch(45.3% 0.095 118.6);
Tailwind
colors: {
  custom: {
    50: '#848a58',
    500: '#515d14',
    950: '#000000',
  },
}
SCSS
$custom: #515d14;
$custom-light: #848a58;
$custom-dark: #000000;
JSON
{
  "hex": "#515d14",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 69.863,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.09544,
    "h": 118.6
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#515D14
secondary
#473895
accent
#40E85C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515D14

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

Preview Lab → · Contrast checker → · Palette generator →

#515D14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva