#526D1B#526D1B

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

Color values

HEX#526D1B
RGBrgb(82, 109, 27)
HSLhsl(80, 60%, 27%)
HSVhsv(80, 75%, 43%)
CMYKcmyk(24.8%, 0%, 75.2%, 57.3%)
CIE-LABlab(42.48, -22.93, 40.23)
CIE-LCHlch(42.48, 46.30, 119.68°)
OKLaboklab(49.63% -0.066 0.0901)
OKLCHoklch(49.63% 0.112 126.2)
XYZxyz(9.1462, 12.8101, 3.0274)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D1B #361B6D
analogous
#6D5F1B #526D1B #296D1B
triadic
#526D1B #1B526D #6D1B52
tetradic
#526D1B #1B6D5F #361B6D #6D1B29
square
#526D1B #1B6D5F #361B6D #6D1B29
split-complementary
#526D1B #1B296D #5F1B6D
monochromatic
#121906 #2D3C0F #526D1B #779E27 #9BCD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526D1B#FFFFFF#000000##FFFFFF
##526D1B1.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)
#73650C
Deuteranopia (green-blind)
#6F6422
Tritanopia (blue-blind)
#56685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d1b;
/* rgb */ color: rgb(82, 109, 27);
/* oklch */ color: oklch(49.6% 0.112 126.2);
Tailwind
colors: {
  custom: {
    50: '#85975d',
    500: '#526d1b',
    950: '#000000',
  },
}
SCSS
$custom: #526d1b;
$custom-light: #85975d;
$custom-dark: #000000;
JSON
{
  "hex": "#526d1b",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 79.756,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.1117,
    "h": 126.2
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#526D1B
secondary
#6142A2
accent
#44E379
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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