#526D19#526D19

#526D19 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.113 H 126.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#526D19
RGBrgb(82, 109, 25)
HSLhsl(79, 63%, 26%)
HSVhsv(79, 77%, 43%)
CMYKcmyk(24.8%, 0%, 77.1%, 57.3%)
CIE-LABlab(42.46, -23.06, 41.00)
CIE-LCHlch(42.46, 47.04, 119.35°)
OKLaboklab(49.62% -0.0665 0.0914)
OKLCHoklch(49.62% 0.113 126.1)
XYZxyz(9.1238, 12.8012, 2.9097)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D19 #34196D
analogous
#6D5E19 #526D19 #286D19
triadic
#526D19 #19526D #6D1952
tetradic
#526D19 #196D5E #34196D #6D1928
square
#526D19 #196D5E #34196D #6D1928
split-complementary
#526D19 #19286D #5E196D
monochromatic
#131906 #2D3B0E #526D19 #779F24 #9DD031

Accessibility & contrast

On white

5.90
#526D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#526D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D19
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D19#FFFFFF#000000##FFFFFF
##526D191.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#56685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d19;
/* rgb */ color: rgb(82, 109, 25);
/* oklch */ color: oklch(49.6% 0.113 126.1);
Tailwind
colors: {
  custom: {
    50: '#86975c',
    500: '#526d19',
    950: '#000000',
  },
}
SCSS
$custom: #526d19;
$custom-light: #86975c;
$custom-dark: #000000;
JSON
{
  "hex": "#526d19",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 79.286,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49616,
    "c": 0.11305,
    "h": 126.1
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#526D19
secondary
#5F3FA2
accent
#42E677
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526D19

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

Preview Lab → · Contrast checker → · Palette generator →

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