#515F0C#515F0C

#515F0C is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.103 H 119.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#515F0C
RGBrgb(81, 95, 12)
HSLhsl(70, 78%, 21%)
HSVhsv(70, 87%, 37%)
CMYKcmyk(14.7%, 0%, 87.4%, 62.7%)
CIE-LABlab(37.77, -16.82, 41.09)
CIE-LCHlch(37.77, 44.39, 112.26°)
OKLaboklab(45.78% -0.0505 0.0892)
OKLCHoklch(45.78% 0.103 119.5)
XYZxyz(7.5521, 9.9603, 1.8724)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F0C #1A0C5F
analogous
#5F430C #515F0C #275F0C
triadic
#515F0C #0C515F #5F0C51
tetradic
#515F0C #0C5F43 #1A0C5F #5F0C27
square
#515F0C #0C5F43 #1A0C5F #5F0C27
split-complementary
#515F0C #0C275F #430C5F
monochromatic
#171B03 #232905 #515F0C #7F9513 #AECC1A

Accessibility & contrast

On white

7.02
#515F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#515F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515F0C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F0C#FFFFFF#000000##FFFFFF
##515F0C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#565950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f0c;
/* rgb */ color: rgb(81, 95, 12);
/* oklch */ color: oklch(45.8% 0.103 119.5);
Tailwind
colors: {
  custom: {
    50: '#858c54',
    500: '#515f0c',
    950: '#000000',
  },
}
SCSS
$custom: #515f0c;
$custom-light: #858c54;
$custom-dark: #000000;
JSON
{
  "hex": "#515f0c",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 70.12,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.10252,
    "h": 119.5
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#515F0C
secondary
#402D99
accent
#34F454
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #515F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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