#526D23#526D23

#526D23 is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 49.7% C 0.106 H 127.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#526D23
RGBrgb(82, 109, 35)
HSLhsl(82, 51%, 28%)
HSVhsv(82, 68%, 43%)
CMYKcmyk(24.8%, 0%, 67.9%, 57.3%)
CIE-LABlab(42.54, -22.33, 36.84)
CIE-LCHlch(42.54, 43.08, 121.22°)
OKLaboklab(49.7% -0.0636 0.0843)
OKLCHoklch(49.7% 0.106 127)
XYZxyz(9.2517, 12.8523, 3.5831)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D23 #3E236D
analogous
#6D6323 #526D23 #2D6D23
triadic
#526D23 #23526D #6D2352
tetradic
#526D23 #236D63 #3E236D #6D232D
square
#526D23 #236D63 #3E236D #6D232D
split-complementary
#526D23 #232D6D #63236D
monochromatic
#111707 #2F3F14 #526D23 #759B32 #96C447

Accessibility & contrast

On white

5.88
#526D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#526D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D23
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D23#FFFFFF#000000##FFFFFF
##526D231.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736619
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#55685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d23;
/* rgb */ color: rgb(82, 109, 35);
/* oklch */ color: oklch(49.7% 0.106 127.0);
Tailwind
colors: {
  custom: {
    50: '#859762',
    500: '#526d23',
    950: '#000000',
  },
}
SCSS
$custom: #526d23;
$custom-light: #859762;
$custom-dark: #000000;
JSON
{
  "hex": "#526d23",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 35
  },
  "hsl": {
    "h": 81.892,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.10556,
    "h": 127
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#526D23
secondary
#6A4BA0
accent
#4DDB81
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526D23

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

Preview Lab → · Contrast checker → · Palette generator →

#526D23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva