#525F15#525F15

#525F15 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.097 H 119.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#525F15
RGBrgb(82, 95, 21)
HSLhsl(71, 64%, 23%)
HSVhsv(71, 78%, 37%)
CMYKcmyk(13.7%, 0%, 77.9%, 62.7%)
CIE-LABlab(37.90, -15.91, 38.13)
CIE-LCHlch(37.90, 41.32, 112.65°)
OKLaboklab(45.92% -0.0473 0.0846)
OKLCHoklch(45.92% 0.097 119.2)
XYZxyz(7.7074, 10.0324, 2.2397)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525F15 #22155F
analogous
#5F4715 #525F15 #2D5F15
triadic
#525F15 #15525F #5F1552
tetradic
#525F15 #155F47 #22155F #5F152D
square
#525F15 #155F47 #22155F #5F152D
split-complementary
#525F15 #152D5F #47155F
monochromatic
#161906 #272D0A #525F15 #7D9120 #A9C32B

Accessibility & contrast

On white

6.99
#525F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#525F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525F15
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525F15#FFFFFF#000000##FFFFFF
##525F151.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665907
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#575951
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #525f15;
/* rgb */ color: rgb(82, 95, 21);
/* oklch */ color: oklch(45.9% 0.097 119.2);
Tailwind
colors: {
  custom: {
    50: '#858c58',
    500: '#525f15',
    950: '#000000',
  },
}
SCSS
$custom: #525f15;
$custom-light: #858c58;
$custom-dark: #000000;
JSON
{
  "hex": "#525f15",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 70.541,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.09695,
    "h": 119.2
  },
  "luminance": 0.10032
}

Semantic roles & 50–950 ramp

primary
#525F15
secondary
#4A3A96
accent
#41E75E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #525F15

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

Preview Lab → · Contrast checker → · Palette generator →

#525F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva