#525F17#525F17

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

Color values

HEX#525F17
RGBrgb(82, 95, 23)
HSLhsl(71, 61%, 23%)
HSVhsv(71, 76%, 37%)
CMYKcmyk(13.7%, 0%, 75.8%, 62.7%)
CIE-LABlab(37.91, -15.79, 37.34)
CIE-LCHlch(37.91, 40.54, 112.92°)
OKLaboklab(45.94% -0.0467 0.0833)
OKLCHoklch(45.94% 0.096 119.3)
XYZxyz(7.7267, 10.0402, 2.3413)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525F17 #24175F
analogous
#5F4817 #525F17 #2E5F17
triadic
#525F17 #17525F #5F1752
tetradic
#525F17 #175F48 #24175F #5F172E
square
#525F17 #175F48 #24175F #5F172E
split-complementary
#525F17 #172E5F #48175F
monochromatic
#151906 #272E0B #525F17 #7D9023 #A7C22F

Accessibility & contrast

On white

6.98
#525F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #525F17
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525F17#FFFFFF#000000##FFFFFF
##525F171.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66590A
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#575A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #525f17;
/* rgb */ color: rgb(82, 95, 23);
/* oklch */ color: oklch(45.9% 0.096 119.3);
Tailwind
colors: {
  custom: {
    50: '#858c59',
    500: '#525f17',
    950: '#000000',
  },
}
SCSS
$custom: #525f17;
$custom-light: #858c59;
$custom-dark: #000000;
JSON
{
  "hex": "#525f17",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 70.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45938,
    "c": 0.09557,
    "h": 119.3
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#525F17
secondary
#4C3C96
accent
#44E461
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #525F17

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

Preview Lab → · Contrast checker → · Palette generator →

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