#525E16#525E16

#525E16 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.095 H 118.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#525E16
RGBrgb(82, 94, 22)
HSLhsl(70, 62%, 23%)
HSVhsv(70, 77%, 37%)
CMYKcmyk(12.8%, 0%, 76.6%, 63.1%)
CIE-LABlab(37.58, -15.30, 37.43)
CIE-LCHlch(37.58, 40.43, 112.24°)
OKLaboklab(45.67% -0.0455 0.0833)
OKLCHoklch(45.67% 0.095 118.6)
XYZxyz(7.6274, 9.8572, 2.2597)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525E16 #22165E
analogous
#5E4616 #525E16 #2E5E16
triadic
#525E16 #16525E #5E1652
tetradic
#525E16 #165E46 #22165E #5E162E
square
#525E16 #165E46 #22165E #5E162E
split-complementary
#525E16 #162E5E #46165E
monochromatic
#161906 #272C0A #525E16 #7D9022 #A9C12D

Accessibility & contrast

On white

7.07
#525E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#525E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #525E16
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525E16#FFFFFF#000000##FFFFFF
##525E161.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655809
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#575950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #525e16;
/* rgb */ color: rgb(82, 94, 22);
/* oklch */ color: oklch(45.7% 0.095 118.6);
Tailwind
colors: {
  custom: {
    50: '#858b59',
    500: '#525e16',
    950: '#000000',
  },
}
SCSS
$custom: #525e16;
$custom-light: #858b59;
$custom-dark: #000000;
JSON
{
  "hex": "#525e16",
  "rgb": {
    "r": 82,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 70,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4567,
    "c": 0.09495,
    "h": 118.6
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#525E16
secondary
#4A3B95
accent
#43E55E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #525E16

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

Preview Lab → · Contrast checker → · Palette generator →

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