#526412#526412

#526412 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.105 H 121.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#526412
RGBrgb(82, 100, 18)
HSLhsl(73, 69%, 23%)
HSVhsv(73, 82%, 39%)
CMYKcmyk(18%, 0%, 82%, 60.8%)
CIE-LABlab(39.50, -18.77, 40.75)
CIE-LCHlch(39.50, 44.86, 114.73°)
OKLaboklab(47.21% -0.0554 0.0896)
OKLCHoklch(47.21% 0.105 121.7)
XYZxyz(8.1462, 10.9518, 2.2569)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526412 #241264
analogous
#644D12 #526412 #296412
triadic
#526412 #125264 #641252
tetradic
#526412 #12644D #241264 #641229
square
#526412 #12644D #241264 #641229
split-complementary
#526412 #122964 #4D1264
monochromatic
#151A05 #273009 #526412 #7D981B #A7CC25

Accessibility & contrast

On white

6.58
#526412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#526412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526412
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526412#FFFFFF#000000##FFFFFF
##5264121.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#575E55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #526412;
/* rgb */ color: rgb(82, 100, 18);
/* oklch */ color: oklch(47.2% 0.105 121.7);
Tailwind
colors: {
  custom: {
    50: '#859058',
    500: '#526412',
    950: '#000000',
  },
}
SCSS
$custom: #526412;
$custom-light: #859058;
$custom-dark: #000000;
JSON
{
  "hex": "#526412",
  "rgb": {
    "r": 82,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 73.171,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.10535,
    "h": 121.7
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#526412
secondary
#4C369C
accent
#3BEC62
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526412

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

Preview Lab → · Contrast checker → · Palette generator →

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