#526512#526512

#526512 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.5% C 0.107 H 122.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#526512
RGBrgb(82, 101, 18)
HSLhsl(74, 70%, 23%)
HSVhsv(74, 82%, 40%)
CMYKcmyk(18.8%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.82, -19.30, 41.05)
CIE-LCHlch(39.82, 45.36, 115.18°)
OKLaboklab(47.47% -0.0569 0.0902)
OKLCHoklch(47.47% 0.107 122.2)
XYZxyz(8.2427, 11.1448, 2.2891)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526512 #251265
analogous
#654E12 #526512 #286512
triadic
#526512 #125265 #651252
tetradic
#526512 #12654E #251265 #651228
square
#526512 #12654E #251265 #651228
split-complementary
#526512 #122865 #4E1265
monochromatic
#151A05 #283109 #526512 #7C991B #A6CD25

Accessibility & contrast

On white

6.50
#526512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#526512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526512
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526512#FFFFFF#000000##FFFFFF
##5265121.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#575F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #526512;
/* rgb */ color: rgb(82, 101, 18);
/* oklch */ color: oklch(47.5% 0.107 122.2);
Tailwind
colors: {
  custom: {
    50: '#859158',
    500: '#526512',
    950: '#000000',
  },
}
SCSS
$custom: #526512;
$custom-light: #859158;
$custom-dark: #000000;
JSON
{
  "hex": "#526512",
  "rgb": {
    "r": 82,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 73.735,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47467,
    "c": 0.10666,
    "h": 122.2
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#526512
secondary
#4D369D
accent
#3BED64
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526512

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

Preview Lab → · Contrast checker → · Palette generator →

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