#526F2A#526F2A

#526F2A is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.3% C 0.102 H 128.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#526F2A
RGBrgb(82, 111, 42)
HSLhsl(85, 45%, 30%)
HSVhsv(85, 62%, 44%)
CMYKcmyk(26.1%, 0%, 62.2%, 56.5%)
CIE-LABlab(43.26, -22.71, 34.28)
CIE-LCHlch(43.26, 41.12, 123.52°)
OKLaboklab(50.31% -0.064 0.0798)
OKLCHoklch(50.31% 0.102 128.7)
XYZxyz(9.5820, 13.3297, 4.2581)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F2A #472A6F
analogous
#6F692A #526F2A #306F2A
triadic
#526F2A #2A526F #6F2A52
tetradic
#526F2A #2A6F69 #472A6F #6F2A30
square
#526F2A #2A6F69 #472A6F #6F2A30
split-complementary
#526F2A #2A306F #692A6F
monochromatic
#101608 #314319 #526F2A #739B3B #92BF55

Accessibility & contrast

On white

5.73
#526F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#526F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F2A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F2A#FFFFFF#000000##FFFFFF
##526F2A1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746722
Deuteranopia (green-blind)
#70662F
Tritanopia (blue-blind)
#546A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f2a;
/* rgb */ color: rgb(82, 111, 42);
/* oklch */ color: oklch(50.3% 0.102 128.7);
Tailwind
colors: {
  custom: {
    50: '#859866',
    500: '#526f2a',
    950: '#000000',
  },
}
SCSS
$custom: #526f2a;
$custom-light: #859866;
$custom-dark: #000000;
JSON
{
  "hex": "#526f2a",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 85.217,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.10222,
    "h": 128.7
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#526F2A
secondary
#7454A1
accent
#53D58A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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