#526B1F#526B1F

#526B1F is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.106 H 125.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#526B1F
RGBrgb(82, 107, 31)
HSLhsl(80, 55%, 27%)
HSVhsv(80, 71%, 42%)
CMYKcmyk(23.4%, 0%, 71%, 58%)
CIE-LABlab(41.86, -21.62, 37.92)
CIE-LCHlch(41.86, 43.65, 119.69°)
OKLaboklab(49.14% -0.062 0.0859)
OKLCHoklch(49.14% 0.106 125.8)
XYZxyz(8.9847, 12.4080, 3.2177)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526B1F #381F6B
analogous
#6B5E1F #526B1F #2C6B1F
triadic
#526B1F #1F526B #6B1F52
tetradic
#526B1F #1F6B5E #381F6B #6B1F2C
square
#526B1F #1F6B5E #381F6B #6B1F2C
split-complementary
#526B1F #1F2C6B #5E1F6B
monochromatic
#121807 #2E3C11 #526B1F #769A2D #9AC73D

Accessibility & contrast

On white

6.03
#526B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#526B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526B1F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526B1F#FFFFFF#000000##FFFFFF
##526B1F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#56665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #526b1f;
/* rgb */ color: rgb(82, 107, 31);
/* oklch */ color: oklch(49.1% 0.106 125.8);
Tailwind
colors: {
  custom: {
    50: '#85955f',
    500: '#526b1f',
    950: '#000000',
  },
}
SCSS
$custom: #526b1f;
$custom-light: #85955f;
$custom-dark: #000000;
JSON
{
  "hex": "#526b1f",
  "rgb": {
    "r": 82,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 79.737,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.10597,
    "h": 125.8
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#526B1F
secondary
#64479F
accent
#49DE7A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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