#526E2F#526E2F

#526E2F is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.096 H 129.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#526E2F
RGBrgb(82, 110, 47)
HSLhsl(87, 40%, 31%)
HSVhsv(87, 57%, 43%)
CMYKcmyk(25.5%, 0%, 57.3%, 56.9%)
CIE-LABlab(42.99, -21.67, 31.43)
CIE-LCHlch(42.99, 38.18, 124.58°)
OKLaboklab(50.11% -0.0606 0.0742)
OKLCHoklch(50.11% 0.096 129.3)
XYZxyz(9.5686, 13.1507, 4.7230)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E2F #4B2F6E
analogous
#6E6A2F #526E2F #326E2F
triadic
#526E2F #2F526E #6E2F52
tetradic
#526E2F #2F6E6A #4B2F6E #6E2F32
square
#526E2F #2F6E6A #4B2F6E #6E2F32
split-complementary
#526E2F #2F326E #6A2F6E
monochromatic
#12180A #32431D #526E2F #729941 #91BA5D

Accessibility & contrast

On white

5.78
#526E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#526E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E2F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E2F#FFFFFF#000000##FFFFFF
##526E2F1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#546A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526e2f;
/* rgb */ color: rgb(82, 110, 47);
/* oklch */ color: oklch(50.1% 0.096 129.3);
Tailwind
colors: {
  custom: {
    50: '#849769',
    500: '#526e2f',
    950: '#000000',
  },
}
SCSS
$custom: #526e2f;
$custom-light: #849769;
$custom-dark: #000000;
JSON
{
  "hex": "#526e2f",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 86.667,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.09578,
    "h": 129.3
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#526E2F
secondary
#79599F
accent
#58D08D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #526E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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