#526912#526912

#526912 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.5% C 0.112 H 124.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#526912
RGBrgb(82, 105, 18)
HSLhsl(76, 71%, 24%)
HSVhsv(76, 83%, 41%)
CMYKcmyk(21.9%, 0%, 82.9%, 58.8%)
CIE-LABlab(41.12, -21.39, 42.24)
CIE-LCHlch(41.12, 47.35, 116.86°)
OKLaboklab(48.52% -0.0626 0.0928)
OKLCHoklch(48.52% 0.112 124)
XYZxyz(8.6405, 11.9406, 2.4217)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526912 #291269
analogous
#695512 #526912 #276912
triadic
#526912 #125269 #691252
tetradic
#526912 #126955 #291269 #691227
square
#526912 #126955 #291269 #691227
split-complementary
#526912 #122769 #551269
monochromatic
#141A04 #293509 #526912 #7B9D1B #A4D124

Accessibility & contrast

On white

6.20
#526912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#526912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526912
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526912#FFFFFF#000000##FFFFFF
##5269121.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#6C611B
Tritanopia (blue-blind)
#566359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #526912;
/* rgb */ color: rgb(82, 105, 18);
/* oklch */ color: oklch(48.5% 0.112 124.0);
Tailwind
colors: {
  custom: {
    50: '#869459',
    500: '#526912',
    950: '#000000',
  },
}
SCSS
$custom: #526912;
$custom-light: #869459;
$custom-dark: #000000;
JSON
{
  "hex": "#526912",
  "rgb": {
    "r": 82,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 75.862,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.11189,
    "h": 124
  },
  "luminance": 0.11941
}

Semantic roles & 50–950 ramp

primary
#526912
secondary
#5236A1
accent
#3AED6A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526912

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

Preview Lab → · Contrast checker → · Palette generator →

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