#525F18#525F18

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

Color values

HEX#525F18
RGBrgb(82, 95, 24)
HSLhsl(71, 60%, 23%)
HSVhsv(71, 75%, 37%)
CMYKcmyk(13.7%, 0%, 74.7%, 62.7%)
CIE-LABlab(37.92, -15.73, 36.93)
CIE-LCHlch(37.92, 40.14, 113.07°)
OKLaboklab(45.95% -0.0465 0.0827)
OKLCHoklch(45.95% 0.095 119.3)
XYZxyz(7.7369, 10.0442, 2.3951)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525F18 #25185F
analogous
#5F4818 #525F18 #2E5F18
triadic
#525F18 #18525F #5F1852
tetradic
#525F18 #185F48 #25185F #5F182E
square
#525F18 #185F48 #25185F #5F182E
split-complementary
#525F18 #182E5F #48185F
monochromatic
#151806 #282E0C #525F18 #7C9024 #A6C131

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##525F18#FFFFFF#000000##FFFFFF
##525F181.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)
#65590C
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#575A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #525f18;
/* rgb */ color: rgb(82, 95, 24);
/* oklch */ color: oklch(45.9% 0.095 119.3);
Tailwind
colors: {
  custom: {
    50: '#858c5a',
    500: '#525f18',
    950: '#000000',
  },
}
SCSS
$custom: #525f18;
$custom-light: #858c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#525f18",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 70.986,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45946,
    "c": 0.09484,
    "h": 119.3
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#525F18
secondary
#4D3D95
accent
#45E362
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #525F18

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

Preview Lab → · Contrast checker → · Palette generator →

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