#526D1A#526D1A

#526D1A is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.112 H 126.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#526D1A
RGBrgb(82, 109, 26)
HSLhsl(80, 61%, 26%)
HSVhsv(80, 76%, 43%)
CMYKcmyk(24.8%, 0%, 76.1%, 57.3%)
CIE-LABlab(42.47, -22.99, 40.62)
CIE-LCHlch(42.47, 46.68, 119.51°)
OKLaboklab(49.62% -0.0663 0.0908)
OKLCHoklch(49.62% 0.112 126.1)
XYZxyz(9.1348, 12.8056, 2.9675)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D1A #351A6D
analogous
#6D5F1A #526D1A #296D1A
triadic
#526D1A #1A526D #6D1A52
tetradic
#526D1A #1A6D5F #351A6D #6D1A29
square
#526D1A #1A6D5F #351A6D #6D1A29
split-complementary
#526D1A #1A296D #5F1A6D
monochromatic
#131906 #2D3C0E #526D1A #779E26 #9CCE33

Accessibility & contrast

On white

5.90
#526D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#526D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D1A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D1A#FFFFFF#000000##FFFFFF
##526D1A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650A
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#56685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d1a;
/* rgb */ color: rgb(82, 109, 26);
/* oklch */ color: oklch(49.6% 0.112 126.1);
Tailwind
colors: {
  custom: {
    50: '#85975d',
    500: '#526d1a',
    950: '#000000',
  },
}
SCSS
$custom: #526d1a;
$custom-light: #85975d;
$custom-dark: #000000;
JSON
{
  "hex": "#526d1a",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 79.518,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.11238,
    "h": 126.1
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#526D1A
secondary
#6041A2
accent
#43E578
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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