#526C1F#526C1F

#526C1F is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.4% C 0.107 H 126.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#526C1F
RGBrgb(82, 108, 31)
HSLhsl(80, 55%, 27%)
HSVhsv(80, 71%, 42%)
CMYKcmyk(24.1%, 0%, 71.3%, 57.6%)
CIE-LABlab(42.18, -22.13, 38.26)
CIE-LCHlch(42.18, 44.20, 120.05°)
OKLaboklab(49.4% -0.0634 0.0866)
OKLCHoklch(49.4% 0.107 126.2)
XYZxyz(9.0896, 12.6178, 3.2526)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526C1F #391F6C
analogous
#6C601F #526C1F #2B6C1F
triadic
#526C1F #1F526C #6C1F52
tetradic
#526C1F #1F6C60 #391F6C #6C1F2B
square
#526C1F #1F6C60 #391F6C #6C1F2B
split-complementary
#526C1F #1F2B6C #601F6C
monochromatic
#121807 #2E3C11 #526C1F #769C2D #99C83E

Accessibility & contrast

On white

5.96
#526C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#526C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526C1F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526C1F#FFFFFF#000000##FFFFFF
##526C1F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726514
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#56675D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526c1f;
/* rgb */ color: rgb(82, 108, 31);
/* oklch */ color: oklch(49.4% 0.107 126.2);
Tailwind
colors: {
  custom: {
    50: '#85965f',
    500: '#526c1f',
    950: '#000000',
  },
}
SCSS
$custom: #526c1f;
$custom-light: #85965f;
$custom-dark: #000000;
JSON
{
  "hex": "#526c1f",
  "rgb": {
    "r": 82,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 80.26,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.10737,
    "h": 126.2
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#526C1F
secondary
#6547A0
accent
#49DF7C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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