#526312#526312

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

Color values

HEX#526312
RGBrgb(82, 99, 18)
HSLhsl(73, 69%, 23%)
HSVhsv(73, 82%, 39%)
CMYKcmyk(17.2%, 0%, 81.8%, 61.2%)
CIE-LABlab(39.18, -18.24, 40.45)
CIE-LCHlch(39.18, 44.37, 114.27°)
OKLaboklab(46.94% -0.054 0.089)
OKLCHoklch(46.94% 0.104 121.2)
XYZxyz(8.0508, 10.7612, 2.2251)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526312 #231263
analogous
#634C12 #526312 #296312
triadic
#526312 #125263 #631252
tetradic
#526312 #12634C #231263 #631229
square
#526312 #12634C #231263 #631229
split-complementary
#526312 #122963 #4C1263
monochromatic
#151A05 #272F09 #526312 #7D971B #A8CB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526312#FFFFFF#000000##FFFFFF
##5263121.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)
#675C1A
Tritanopia (blue-blind)
#575D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526312;
/* rgb */ color: rgb(82, 99, 18);
/* oklch */ color: oklch(46.9% 0.104 121.2);
Tailwind
colors: {
  custom: {
    50: '#858f58',
    500: '#526312',
    950: '#000000',
  },
}
SCSS
$custom: #526312;
$custom-light: #858f58;
$custom-dark: #000000;
JSON
{
  "hex": "#526312",
  "rgb": {
    "r": 82,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 72.593,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.10405,
    "h": 121.2
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#526312
secondary
#4B369B
accent
#3CEC61
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #526312

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

Preview Lab → · Contrast checker → · Palette generator →

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