#526712#526712

#526712 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.109 H 123.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#526712
RGBrgb(82, 103, 18)
HSLhsl(75, 70%, 24%)
HSVhsv(75, 83%, 40%)
CMYKcmyk(20.4%, 0%, 82.5%, 59.6%)
CIE-LABlab(40.47, -20.35, 41.65)
CIE-LCHlch(40.47, 46.35, 116.05°)
OKLaboklab(47.99% -0.0597 0.0915)
OKLCHoklch(47.99% 0.109 123.1)
XYZxyz(8.4392, 11.5380, 2.3546)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526712 #271267
analogous
#675112 #526712 #276712
triadic
#526712 #125267 #671252
tetradic
#526712 #126751 #271267 #671227
square
#526712 #126751 #271267 #671227
split-complementary
#526712 #122767 #511267
monochromatic
#151A05 #293309 #526712 #7B9B1B #A5CF24

Accessibility & contrast

On white

6.35
#526712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#526712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526712
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526712#FFFFFF#000000##FFFFFF
##5267121.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#6B5F1B
Tritanopia (blue-blind)
#576157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #526712;
/* rgb */ color: rgb(82, 103, 18);
/* oklch */ color: oklch(48.0% 0.109 123.1);
Tailwind
colors: {
  custom: {
    50: '#869258',
    500: '#526712',
    950: '#000000',
  },
}
SCSS
$custom: #526712;
$custom-light: #869258;
$custom-dark: #000000;
JSON
{
  "hex": "#526712",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 74.824,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.10927,
    "h": 123.1
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#526712
secondary
#50369F
accent
#3BED67
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #526712

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

Preview Lab → · Contrast checker → · Palette generator →

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