#526E1A#526E1A

#526E1A is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.114 H 126.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#526E1A
RGBrgb(82, 110, 26)
HSLhsl(80, 62%, 27%)
HSVhsv(80, 76%, 43%)
CMYKcmyk(25.5%, 0%, 76.4%, 56.9%)
CIE-LABlab(42.79, -23.50, 40.94)
CIE-LCHlch(42.79, 47.20, 119.85°)
OKLaboklab(49.89% -0.0676 0.0914)
OKLCHoklch(49.89% 0.114 126.5)
XYZxyz(9.2421, 13.0201, 3.0033)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E1A #361A6E
analogous
#6E601A #526E1A #286E1A
triadic
#526E1A #1A526E #6E1A52
tetradic
#526E1A #1A6E60 #361A6E #6E1A28
square
#526E1A #1A6E60 #361A6E #6E1A28
split-complementary
#526E1A #1A286E #601A6E
monochromatic
#121906 #2D3D0E #526E1A #77A026 #9BCF34

Accessibility & contrast

On white

5.83
#526E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#526E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E1A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E1A#FFFFFF#000000##FFFFFF
##526E1A1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660A
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#56695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526e1a;
/* rgb */ color: rgb(82, 110, 26);
/* oklch */ color: oklch(49.9% 0.114 126.5);
Tailwind
colors: {
  custom: {
    50: '#86975d',
    500: '#526e1a',
    950: '#000000',
  },
}
SCSS
$custom: #526e1a;
$custom-light: #86975d;
$custom-dark: #000000;
JSON
{
  "hex": "#526e1a",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 80,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.11374,
    "h": 126.5
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#526E1A
secondary
#6141A3
accent
#43E579
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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