#526124#526124

#526124 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.087 H 121.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#526124
RGBrgb(82, 97, 36)
HSLhsl(75, 46%, 26%)
HSVhsv(75, 63%, 38%)
CMYKcmyk(15.5%, 0%, 62.9%, 62%)
CIE-LABlab(38.67, -15.88, 32.13)
CIE-LCHlch(38.67, 35.84, 116.30°)
OKLaboklab(46.59% -0.0456 0.0744)
OKLCHoklch(46.59% 0.087 121.5)
XYZxyz(8.0729, 10.4706, 3.2645)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526124 #332461
analogous
#615124 #526124 #336124
triadic
#526124 #245261 #612452
tetradic
#526124 #246151 #332461 #612433
square
#526124 #246151 #332461 #612433
split-complementary
#526124 #243361 #512461
monochromatic
#131608 #2C3413 #526124 #788E35 #9DBA45

Accessibility & contrast

On white

6.79
#526124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#526124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526124
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526124#FFFFFF#000000##FFFFFF
##5261241.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B1D
Deuteranopia (green-blind)
#655B28
Tritanopia (blue-blind)
#565C54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526124;
/* rgb */ color: rgb(82, 97, 36);
/* oklch */ color: oklch(46.6% 0.087 121.5);
Tailwind
colors: {
  custom: {
    50: '#848e61',
    500: '#526124',
    950: '#000000',
  },
}
SCSS
$custom: #526124;
$custom-light: #848e61;
$custom-dark: #000000;
JSON
{
  "hex": "#526124",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 36
  },
  "hsl": {
    "h": 74.754,
    "s": 45.865,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.08727,
    "h": 121.5
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#526124
secondary
#5E4C94
accent
#52D673
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #526124

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

Preview Lab → · Contrast checker → · Palette generator →

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