#515119#515119

#515119 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.076 H 109.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#515119
RGBrgb(81, 81, 25)
HSLhsl(60, 53%, 21%)
HSVhsv(60, 69%, 32%)
CMYKcmyk(0%, 0%, 69.1%, 68.2%)
CIE-LABlab(33.36, -8.17, 31.78)
CIE-LCHlch(33.36, 32.81, 104.42°)
OKLaboklab(42.27% -0.0252 0.072)
OKLCHoklch(42.27% 0.076 109.3)
XYZxyz(6.5114, 7.7046, 2.0636)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515119 #191951
analogous
#513519 #515119 #355119
triadic
#515119 #195151 #511951
tetradic
#515119 #195135 #191951 #511935
square
#515119 #195135 #191951 #511935
split-complementary
#515119 #193551 #351951
monochromatic
#171707 #22220B #515119 #808027 #AFAF36

Accessibility & contrast

On white

8.27
#515119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515119
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515119#FFFFFF#000000##FFFFFF
##5151191.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D12
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#574C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #515119;
/* rgb */ color: rgb(81, 81, 25);
/* oklch */ color: oklch(42.3% 0.076 109.3);
Tailwind
colors: {
  custom: {
    50: '#848159',
    500: '#515119',
    950: '#000000',
  },
}
SCSS
$custom: #515119;
$custom-light: #848159;
$custom-dark: #000000;
JSON
{
  "hex": "#515119",
  "rgb": {
    "r": 81,
    "g": 81,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.0763,
    "h": 109.3
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#515119
secondary
#3E3E87
accent
#4CDC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #515119

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

Preview Lab → · Contrast checker → · Palette generator →

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