#515F23#515F23

#515F23 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.0% C 0.086 H 120.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#515F23
RGBrgb(81, 95, 35)
HSLhsl(74, 46%, 25%)
HSVhsv(74, 63%, 37%)
CMYKcmyk(14.7%, 0%, 63.2%, 62.7%)
CIE-LABlab(37.94, -15.33, 31.80)
CIE-LCHlch(37.94, 35.30, 115.73°)
OKLaboklab(45.97% -0.0441 0.0736)
OKLCHoklch(45.97% 0.086 120.9)
XYZxyz(7.7890, 10.0551, 3.1203)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515F23 #31235F
analogous
#5F4F23 #515F23 #335F23
triadic
#515F23 #23515F #5F2351
tetradic
#515F23 #235F4F #31235F #5F2333
square
#515F23 #235F4F #31235F #5F2333
split-complementary
#515F23 #23335F #4F235F
monochromatic
#131608 #2B3213 #515F23 #778C33 #9DB844

Accessibility & contrast

On white

6.97
#515F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#515F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515F23
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515F23#FFFFFF#000000##FFFFFF
##515F231.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A1C
Deuteranopia (green-blind)
#635927
Tritanopia (blue-blind)
#555A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515f23;
/* rgb */ color: rgb(81, 95, 35);
/* oklch */ color: oklch(46.0% 0.086 120.9);
Tailwind
colors: {
  custom: {
    50: '#838c60',
    500: '#515f23',
    950: '#000000',
  },
}
SCSS
$custom: #515f23;
$custom-light: #838c60;
$custom-dark: #000000;
JSON
{
  "hex": "#515f23",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 74,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45973,
    "c": 0.08579,
    "h": 120.9
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#515F23
secondary
#5C4B93
accent
#52D671
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #515F23

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

Preview Lab → · Contrast checker → · Palette generator →

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