#526A12#526A12

#526A12 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.113 H 124.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#526A12
RGBrgb(82, 106, 18)
HSLhsl(76, 71%, 24%)
HSVhsv(76, 83%, 42%)
CMYKcmyk(22.6%, 0%, 83%, 58.4%)
CIE-LABlab(41.45, -21.91, 42.54)
CIE-LCHlch(41.45, 47.85, 117.25°)
OKLaboklab(48.78% -0.064 0.0934)
OKLCHoklch(48.78% 0.113 124.4)
XYZxyz(8.7430, 12.1455, 2.4559)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A12 #2A126A
analogous
#6A5612 #526A12 #266A12
triadic
#526A12 #12526A #6A1252
tetradic
#526A12 #126A56 #2A126A #6A1226
square
#526A12 #126A56 #2A126A #6A1226
split-complementary
#526A12 #12266A #56126A
monochromatic
#141A04 #2A3609 #526A12 #7A9E1B #A3D324

Accessibility & contrast

On white

6.12
#526A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#526A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526A12
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526A12#FFFFFF#000000##FFFFFF
##526A121.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#6D621B
Tritanopia (blue-blind)
#56645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a12;
/* rgb */ color: rgb(82, 106, 18);
/* oklch */ color: oklch(48.8% 0.113 124.4);
Tailwind
colors: {
  custom: {
    50: '#869459',
    500: '#526a12',
    950: '#000000',
  },
}
SCSS
$custom: #526a12;
$custom-light: #869459;
$custom-dark: #000000;
JSON
{
  "hex": "#526a12",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 76.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4878,
    "c": 0.1132,
    "h": 124.4
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#526A12
secondary
#5436A2
accent
#3AEE6B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526A12

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

Preview Lab → · Contrast checker → · Palette generator →

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