#526E23#526E23

#526E23 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.107 H 127.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#526E23
RGBrgb(82, 110, 35)
HSLhsl(82, 52%, 28%)
HSVhsv(82, 68%, 43%)
CMYKcmyk(25.5%, 0%, 68.2%, 56.9%)
CIE-LABlab(42.86, -22.84, 37.19)
CIE-LCHlch(42.86, 43.64, 121.55°)
OKLaboklab(49.97% -0.065 0.085)
OKLCHoklch(49.97% 0.107 127.4)
XYZxyz(9.3590, 13.0669, 3.6189)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E23 #3F236E
analogous
#6E6423 #526E23 #2C6E23
triadic
#526E23 #23526E #6E2352
tetradic
#526E23 #236E64 #3F236E #6E232C
square
#526E23 #236E64 #3F236E #6E232C
split-complementary
#526E23 #232C6E #64236E
monochromatic
#111707 #2F4014 #526E23 #759C32 #96C447

Accessibility & contrast

On white

5.81
#526E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#526E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E23
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E23#FFFFFF#000000##FFFFFF
##526E231.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746619
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#55695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526e23;
/* rgb */ color: rgb(82, 110, 35);
/* oklch */ color: oklch(50.0% 0.107 127.4);
Tailwind
colors: {
  custom: {
    50: '#859762',
    500: '#526e23',
    950: '#000000',
  },
}
SCSS
$custom: #526e23;
$custom-light: #859762;
$custom-dark: #000000;
JSON
{
  "hex": "#526e23",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 82.4,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.10699,
    "h": 127.4
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#526E23
secondary
#6C4CA1
accent
#4DDB82
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526E23

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

Preview Lab → · Contrast checker → · Palette generator →

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