#526F23#526F23

#526F23 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.108 H 127.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#526F23
RGBrgb(82, 111, 35)
HSLhsl(83, 52%, 29%)
HSVhsv(83, 68%, 44%)
CMYKcmyk(26.1%, 0%, 68.5%, 56.5%)
CIE-LABlab(43.19, -23.34, 37.53)
CIE-LCHlch(43.19, 44.20, 121.88°)
OKLaboklab(50.23% -0.0664 0.0857)
OKLCHoklch(50.23% 0.108 127.8)
XYZxyz(9.4675, 13.2839, 3.6550)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F23 #40236F
analogous
#6F6623 #526F23 #2C6F23
triadic
#526F23 #23526F #6F2352
tetradic
#526F23 #236F66 #40236F #6F232C
square
#526F23 #236F66 #40236F #6F232C
split-complementary
#526F23 #232C6F #66236F
monochromatic
#111707 #304014 #526F23 #749E32 #95C547

Accessibility & contrast

On white

5.74
#526F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#526F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F23
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F23#FFFFFF#000000##FFFFFF
##526F231.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756719
Deuteranopia (green-blind)
#716529
Tritanopia (blue-blind)
#556A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f23;
/* rgb */ color: rgb(82, 111, 35);
/* oklch */ color: oklch(50.2% 0.108 127.8);
Tailwind
colors: {
  custom: {
    50: '#859862',
    500: '#526f23',
    950: '#000000',
  },
}
SCSS
$custom: #526f23;
$custom-light: #859862;
$custom-dark: #000000;
JSON
{
  "hex": "#526f23",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 82.895,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.10842,
    "h": 127.8
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#526F23
secondary
#6D4CA2
accent
#4CDB83
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #526F23

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

Preview Lab → · Contrast checker → · Palette generator →

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