#526112#526112

#526112 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.101 H 120.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#526112
RGBrgb(82, 97, 18)
HSLhsl(71, 69%, 23%)
HSVhsv(71, 81%, 38%)
CMYKcmyk(15.5%, 0%, 81.4%, 62%)
CIE-LABlab(38.53, -17.16, 39.85)
CIE-LCHlch(38.53, 43.39, 113.30°)
OKLaboklab(46.42% -0.051 0.0877)
OKLCHoklch(46.42% 0.101 120.2)
XYZxyz(7.8637, 10.3869, 2.1628)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526112 #211261
analogous
#614812 #526112 #2B6112
triadic
#526112 #125261 #611252
tetradic
#526112 #126148 #211261 #61122B
square
#526112 #126148 #211261 #61122B
split-complementary
#526112 #122B61 #481261
monochromatic
#161A05 #262D08 #526112 #7E951C #A9C825

Accessibility & contrast

On white

6.82
#526112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#526112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526112
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526112#FFFFFF#000000##FFFFFF
##5261121.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#575B52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526112;
/* rgb */ color: rgb(82, 97, 18);
/* oklch */ color: oklch(46.4% 0.101 120.2);
Tailwind
colors: {
  custom: {
    50: '#858d57',
    500: '#526112',
    950: '#000000',
  },
}
SCSS
$custom: #526112;
$custom-light: #858d57;
$custom-dark: #000000;
JSON
{
  "hex": "#526112",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 71.392,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.10146,
    "h": 120.2
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#526112
secondary
#493699
accent
#3CEC5E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #526112

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

Preview Lab → · Contrast checker → · Palette generator →

#526112 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva