#526C1E#526C1E

#526C1E is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.4% C 0.108 H 126.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#526C1E
RGBrgb(82, 108, 30)
HSLhsl(80, 57%, 27%)
HSVhsv(80, 72%, 42%)
CMYKcmyk(24.1%, 0%, 72.2%, 57.6%)
CIE-LABlab(42.17, -22.21, 38.68)
CIE-LCHlch(42.17, 44.60, 119.86°)
OKLaboklab(49.39% -0.0637 0.0874)
OKLCHoklch(49.39% 0.108 126.1)
XYZxyz(9.0766, 12.6126, 3.1843)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C1E #381E6C
analogous
#6C5F1E #526C1E #2B6C1E
triadic
#526C1E #1E526C #6C1E52
tetradic
#526C1E #1E6C5F #381E6C #6C1E2B
square
#526C1E #1E6C5F #381E6C #6C1E2B
split-complementary
#526C1E #1E2B6C #5F1E6C
monochromatic
#121807 #2E3C11 #526C1E #769C2B #9AC93C

Accessibility & contrast

On white

5.96
#526C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#526C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C1E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C1E#FFFFFF#000000##FFFFFF
##526C1E1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#56675C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526c1e;
/* rgb */ color: rgb(82, 108, 30);
/* oklch */ color: oklch(49.4% 0.108 126.1);
Tailwind
colors: {
  custom: {
    50: '#85965f',
    500: '#526c1e',
    950: '#000000',
  },
}
SCSS
$custom: #526c1e;
$custom-light: #85965f;
$custom-dark: #000000;
JSON
{
  "hex": "#526c1e",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 80,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49394,
    "c": 0.10814,
    "h": 126.1
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#526C1E
secondary
#6445A0
accent
#48E07B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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