#515C0F#515C0F

#515C0F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.097 H 117.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#515C0F
RGBrgb(81, 92, 15)
HSLhsl(69, 72%, 21%)
HSVhsv(69, 84%, 36%)
CMYKcmyk(12%, 0%, 83.7%, 63.9%)
CIE-LABlab(36.81, -15.05, 39.29)
CIE-LCHlch(36.81, 42.07, 110.96°)
OKLaboklab(45.02% -0.0454 0.086)
OKLCHoklch(45.02% 0.097 117.8)
XYZxyz(7.3069, 9.4382, 1.8887)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C0F #1A0F5C
analogous
#5C400F #515C0F #2A5C0F
triadic
#515C0F #0F515C #5C0F51
tetradic
#515C0F #0F5C40 #1A0F5C #5C0F2A
square
#515C0F #0F5C40 #1A0F5C #5C0F2A
split-complementary
#515C0F #0F2A5C #400F5C
monochromatic
#171A04 #232706 #515C0F #7F9118 #AEC520

Accessibility & contrast

On white

7.27
#515C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#515C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515C0F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515C0F#FFFFFF#000000##FFFFFF
##515C0F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#57564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515c0f;
/* rgb */ color: rgb(81, 92, 15);
/* oklch */ color: oklch(45.0% 0.097 117.8);
Tailwind
colors: {
  custom: {
    50: '#858a55',
    500: '#515c0f',
    950: '#000000',
  },
}
SCSS
$custom: #515c0f;
$custom-light: #858a55;
$custom-dark: #000000;
JSON
{
  "hex": "#515c0f",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 68.571,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.09721,
    "h": 117.8
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#515C0F
secondary
#403195
accent
#39EF53
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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