#515113#515113

#515113 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.081 H 109.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#515113
RGBrgb(81, 81, 19)
HSLhsl(60, 62%, 20%)
HSVhsv(60, 77%, 32%)
CMYKcmyk(0%, 0%, 76.5%, 68.2%)
CIE-LABlab(33.31, -8.56, 34.46)
CIE-LCHlch(33.31, 35.51, 103.96°)
OKLaboklab(42.22% -0.027 0.0766)
OKLCHoklch(42.22% 0.081 109.4)
XYZxyz(6.4535, 7.6814, 1.7587)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515113 #131351
analogous
#513213 #515113 #325113
triadic
#515113 #135151 #511351
tetradic
#515113 #135132 #131351 #511332
square
#515113 #135132 #131351 #511332
split-complementary
#515113 #133251 #321351
monochromatic
#191906 #1F1F07 #515113 #83831F #B4B42A

Accessibility & contrast

On white

8.28
#515113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#515113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515113
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515113#FFFFFF#000000##FFFFFF
##5151131.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D08
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#574B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #515113;
/* rgb */ color: rgb(81, 81, 19);
/* oklch */ color: oklch(42.2% 0.081 109.4);
Tailwind
colors: {
  custom: {
    50: '#848156',
    500: '#515113',
    950: '#000000',
  },
}
SCSS
$custom: #515113;
$custom-light: #848156;
$custom-dark: #000000;
JSON
{
  "hex": "#515113",
  "rgb": {
    "r": 81,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 60,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.08117,
    "h": 109.4
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#515113
secondary
#36368A
accent
#43E543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515113

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

Preview Lab → · Contrast checker → · Palette generator →

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