#526A1F#526A1F

#526A1F is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.9% C 0.105 H 125.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#526A1F
RGBrgb(82, 106, 31)
HSLhsl(79, 55%, 27%)
HSVhsv(79, 71%, 42%)
CMYKcmyk(22.6%, 0%, 70.8%, 58.4%)
CIE-LABlab(41.53, -21.10, 37.58)
CIE-LCHlch(41.53, 43.10, 119.31°)
OKLaboklab(48.88% -0.0606 0.0852)
OKLCHoklch(48.88% 0.105 125.4)
XYZxyz(8.8811, 12.2007, 3.1831)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A1F #371F6A
analogous
#6A5D1F #526A1F #2D6A1F
triadic
#526A1F #1F526A #6A1F52
tetradic
#526A1F #1F6A5D #371F6A #6A1F2D
square
#526A1F #1F6A5D #371F6A #6A1F2D
split-complementary
#526A1F #1F2D6A #5D1F6A
monochromatic
#121807 #2D3B11 #526A1F #77992D #9AC63D

Accessibility & contrast

On white

6.10
#526A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#526A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526A1F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526A1F#FFFFFF#000000##FFFFFF
##526A1F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#56655B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a1f;
/* rgb */ color: rgb(82, 106, 31);
/* oklch */ color: oklch(48.9% 0.105 125.4);
Tailwind
colors: {
  custom: {
    50: '#85945f',
    500: '#526a1f',
    950: '#000000',
  },
}
SCSS
$custom: #526a1f;
$custom-light: #85945f;
$custom-dark: #000000;
JSON
{
  "hex": "#526a1f",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 79.2,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48878,
    "c": 0.10457,
    "h": 125.4
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#526A1F
secondary
#63479E
accent
#4ADE79
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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