#526A2F#526A2F

#526A2F is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.090 H 127.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#526A2F
RGBrgb(82, 106, 47)
HSLhsl(84, 39%, 30%)
HSVhsv(84, 56%, 42%)
CMYKcmyk(22.6%, 0%, 55.7%, 58.4%)
CIE-LABlab(41.70, -19.58, 29.91)
CIE-LCHlch(41.70, 35.75, 123.20°)
OKLaboklab(49.07% -0.0548 0.0709)
OKLCHoklch(49.07% 0.09 127.7)
XYZxyz(9.1468, 12.3070, 4.5824)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A2F #472F6A
analogous
#6A652F #526A2F #346A2F
triadic
#526A2F #2F526A #6A2F52
tetradic
#526A2F #2F6A65 #472F6A #6A2F34
square
#526A2F #2F6A65 #472F6A #6A2F34
split-complementary
#526A2F #2F346A #652F6A
monochromatic
#101509 #31401C #526A2F #739442 #92B75C

Accessibility & contrast

On white

6.07
#526A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#526A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526A2F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526A2F#FFFFFF#000000##FFFFFF
##526A2F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6329
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#55665D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a2f;
/* rgb */ color: rgb(82, 106, 47);
/* oklch */ color: oklch(49.1% 0.090 127.7);
Tailwind
colors: {
  custom: {
    50: '#849469',
    500: '#526a2f',
    950: '#000000',
  },
}
SCSS
$custom: #526a2f;
$custom-light: #849469;
$custom-dark: #000000;
JSON
{
  "hex": "#526a2f",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 84.407,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.49066,
    "c": 0.08959,
    "h": 127.7
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#526A2F
secondary
#74599B
accent
#59CE89
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526A2F

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

Preview Lab → · Contrast checker → · Palette generator →

#526A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva