#526E1F#526E1F

#526E1F is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.110 H 127.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#526E1F
RGBrgb(82, 110, 31)
HSLhsl(81, 56%, 28%)
HSVhsv(81, 72%, 43%)
CMYKcmyk(25.5%, 0%, 71.8%, 56.9%)
CIE-LABlab(42.83, -23.15, 38.93)
CIE-LCHlch(42.83, 45.29, 120.74°)
OKLaboklab(49.93% -0.0662 0.088)
OKLCHoklch(49.93% 0.11 127)
XYZxyz(9.3029, 13.0445, 3.3238)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E1F #3B1F6E
analogous
#6E621F #526E1F #2A6E1F
triadic
#526E1F #1F526E #6E1F52
tetradic
#526E1F #1F6E62 #3B1F6E #6E1F2A
square
#526E1F #1F6E62 #3B1F6E #6E1F2A
split-complementary
#526E1F #1F2A6E #621F6E
monochromatic
#121807 #2E3E12 #526E1F #769E2C #98C93F

Accessibility & contrast

On white

5.82
#526E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#526E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E1F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E1F#FFFFFF#000000##FFFFFF
##526E1F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#55695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526e1f;
/* rgb */ color: rgb(82, 110, 31);
/* oklch */ color: oklch(49.9% 0.110 127.0);
Tailwind
colors: {
  custom: {
    50: '#859760',
    500: '#526e1f',
    950: '#000000',
  },
}
SCSS
$custom: #526e1f;
$custom-light: #859760;
$custom-dark: #000000;
JSON
{
  "hex": "#526e1f",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 81.266,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.11018,
    "h": 127
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#526E1F
secondary
#6747A2
accent
#48DF7E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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