#526D1F#526D1F

#526D1F is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.7% C 0.109 H 126.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#526D1F
RGBrgb(82, 109, 31)
HSLhsl(81, 56%, 27%)
HSVhsv(81, 72%, 43%)
CMYKcmyk(24.8%, 0%, 71.6%, 57.3%)
CIE-LABlab(42.51, -22.64, 38.59)
CIE-LCHlch(42.51, 44.74, 120.40°)
OKLaboklab(49.67% -0.0648 0.0873)
OKLCHoklch(49.67% 0.109 126.6)
XYZxyz(9.1957, 12.8299, 3.2880)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D1F #3A1F6D
analogous
#6D611F #526D1F #2B6D1F
triadic
#526D1F #1F526D #6D1F52
tetradic
#526D1F #1F6D61 #3A1F6D #6D1F2B
square
#526D1F #1F6D61 #3A1F6D #6D1F2B
split-complementary
#526D1F #1F2B6D #611F6D
monochromatic
#121807 #2E3D11 #526D1F #769D2D #98C83E

Accessibility & contrast

On white

5.89
#526D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#526D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D1F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D1F#FFFFFF#000000##FFFFFF
##526D1F1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#55685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d1f;
/* rgb */ color: rgb(82, 109, 31);
/* oklch */ color: oklch(49.7% 0.109 126.6);
Tailwind
colors: {
  custom: {
    50: '#859760',
    500: '#526d1f',
    950: '#000000',
  },
}
SCSS
$custom: #526d1f;
$custom-light: #859760;
$custom-dark: #000000;
JSON
{
  "hex": "#526d1f",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 80.769,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49665,
    "c": 0.10878,
    "h": 126.6
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#526D1F
secondary
#6647A1
accent
#49DF7D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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