#526B1E#526B1E

#526B1E is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.107 H 125.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#526B1E
RGBrgb(82, 107, 30)
HSLhsl(79, 56%, 27%)
HSVhsv(79, 72%, 42%)
CMYKcmyk(23.4%, 0%, 72%, 58%)
CIE-LABlab(41.85, -21.69, 38.35)
CIE-LCHlch(41.85, 44.06, 119.50°)
OKLaboklab(49.13% -0.0623 0.0867)
OKLCHoklch(49.13% 0.107 125.7)
XYZxyz(8.9718, 12.4028, 3.1494)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B1E #371E6B
analogous
#6B5E1E #526B1E #2B6B1E
triadic
#526B1E #1E526B #6B1E52
tetradic
#526B1E #1E6B5E #371E6B #6B1E2B
square
#526B1E #1E6B5E #371E6B #6B1E2B
split-complementary
#526B1E #1E2B6B #5E1E6B
monochromatic
#121807 #2D3B11 #526B1E #779B2B #9AC83B

Accessibility & contrast

On white

6.03
#526B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#526B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526B1E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526B1E#FFFFFF#000000##FFFFFF
##526B1E1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716412
Deuteranopia (green-blind)
#6E6224
Tritanopia (blue-blind)
#56665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b1e;
/* rgb */ color: rgb(82, 107, 30);
/* oklch */ color: oklch(49.1% 0.107 125.7);
Tailwind
colors: {
  custom: {
    50: '#85955f',
    500: '#526b1e',
    950: '#000000',
  },
}
SCSS
$custom: #526b1e;
$custom-light: #85955f;
$custom-dark: #000000;
JSON
{
  "hex": "#526b1e",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 30
  },
  "hsl": {
    "h": 79.481,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.10676,
    "h": 125.7
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#526B1E
secondary
#63459F
accent
#48DF79
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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