#526311#526311

#526311 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.105 H 121.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#526311
RGBrgb(82, 99, 17)
HSLhsl(72, 71%, 23%)
HSVhsv(72, 83%, 39%)
CMYKcmyk(17.2%, 0%, 82.8%, 61.2%)
CIE-LABlab(39.17, -18.29, 40.79)
CIE-LCHlch(39.17, 44.70, 114.15°)
OKLaboklab(46.94% -0.0542 0.0895)
OKLCHoklch(46.94% 0.105 121.2)
XYZxyz(8.0428, 10.7580, 2.1830)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526311 #221163
analogous
#634B11 #526311 #296311
triadic
#526311 #115263 #631152
tetradic
#526311 #11634B #221163 #631129
square
#526311 #11634B #221163 #631129
split-complementary
#526311 #112963 #4B1163
monochromatic
#161A04 #272F08 #526311 #7D971A #A9CB23

Accessibility & contrast

On white

6.66
#526311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#526311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526311
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526311#FFFFFF#000000##FFFFFF
##5263111.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#685C19
Tritanopia (blue-blind)
#575D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526311;
/* rgb */ color: rgb(82, 99, 17);
/* oklch */ color: oklch(46.9% 0.105 121.2);
Tailwind
colors: {
  custom: {
    50: '#858f57',
    500: '#526311',
    950: '#000000',
  },
}
SCSS
$custom: #526311;
$custom-light: #858f57;
$custom-dark: #000000;
JSON
{
  "hex": "#526311",
  "rgb": {
    "r": 82,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 72.439,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.10461,
    "h": 121.2
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#526311
secondary
#4A349B
accent
#3AED5F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #526311

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

Preview Lab → · Contrast checker → · Palette generator →

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