#525F16#525F16

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

Color values

HEX#525F16
RGBrgb(82, 95, 22)
HSLhsl(71, 62%, 23%)
HSVhsv(71, 77%, 37%)
CMYKcmyk(13.7%, 0%, 76.8%, 62.7%)
CIE-LABlab(37.91, -15.85, 37.74)
CIE-LCHlch(37.91, 40.93, 112.78°)
OKLaboklab(45.93% -0.047 0.084)
OKLCHoklch(45.93% 0.096 119.2)
XYZxyz(7.7169, 10.0362, 2.2896)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525F16 #23165F
analogous
#5F4716 #525F16 #2D5F16
triadic
#525F16 #16525F #5F1652
tetradic
#525F16 #165F47 #23165F #5F162D
square
#525F16 #165F47 #23165F #5F162D
split-complementary
#525F16 #162D5F #47165F
monochromatic
#151906 #272D0A #525F16 #7D9122 #A8C22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #525f16;
/* rgb */ color: rgb(82, 95, 22);
/* oklch */ color: oklch(45.9% 0.096 119.2);
Tailwind
colors: {
  custom: {
    50: '#858c59',
    500: '#525f16',
    950: '#000000',
  },
}
SCSS
$custom: #525f16;
$custom-light: #858c59;
$custom-dark: #000000;
JSON
{
  "hex": "#525f16",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 70.685,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.09627,
    "h": 119.2
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#525F16
secondary
#4B3B96
accent
#42E55F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #525F16

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

Preview Lab → · Contrast checker → · Palette generator →

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