#515B10#515B10

#515B10 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.095 H 117.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#515B10
RGBrgb(81, 91, 16)
HSLhsl(68, 70%, 21%)
HSVhsv(68, 82%, 36%)
CMYKcmyk(11%, 0%, 82.4%, 64.3%)
CIE-LABlab(36.50, -14.45, 38.65)
CIE-LCHlch(36.50, 41.26, 110.49°)
OKLaboklab(44.76% -0.0436 0.0848)
OKLCHoklch(44.76% 0.095 117.2)
XYZxyz(7.2281, 9.2690, 1.8984)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B10 #1A105B
analogous
#5B3F10 #515B10 #2B5B10
triadic
#515B10 #10515B #5B1051
tetradic
#515B10 #105B3F #1A105B #5B102B
square
#515B10 #105B3F #1A105B #5B102B
split-complementary
#515B10 #102B5B #3F105B
monochromatic
#171A05 #232707 #515B10 #7F8F19 #AEC322

Accessibility & contrast

On white

7.36
#515B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#515B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B10
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B10#FFFFFF#000000##FFFFFF
##515B101.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#57554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b10;
/* rgb */ color: rgb(81, 91, 16);
/* oklch */ color: oklch(44.8% 0.095 117.2);
Tailwind
colors: {
  custom: {
    50: '#848955',
    500: '#515b10',
    950: '#000000',
  },
}
SCSS
$custom: #515b10;
$custom-light: #848955;
$custom-dark: #000000;
JSON
{
  "hex": "#515b10",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 68,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.09538,
    "h": 117.2
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#515B10
secondary
#403394
accent
#3BED53
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515B10

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

Preview Lab → · Contrast checker → · Palette generator →

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