#526E18#526E18

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

Color values

HEX#526E18
RGBrgb(82, 110, 24)
HSLhsl(80, 64%, 26%)
HSVhsv(80, 78%, 43%)
CMYKcmyk(25.5%, 0%, 78.2%, 56.9%)
CIE-LABlab(42.78, -23.62, 41.69)
CIE-LCHlch(42.78, 47.92, 119.54°)
OKLaboklab(49.87% -0.0682 0.0927)
OKLCHoklch(49.87% 0.115 126.3)
XYZxyz(9.2205, 13.0115, 2.8897)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526E18 #34186E
analogous
#6E5F18 #526E18 #276E18
triadic
#526E18 #18526E #6E1852
tetradic
#526E18 #186E5F #34186E #6E1827
square
#526E18 #186E5F #34186E #6E1827
split-complementary
#526E18 #18276E #5F186E
monochromatic
#131905 #2D3C0D #526E18 #77A023 #9DD22F

Accessibility & contrast

On white

5.83
#526E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#526E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526E18
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526E18#FFFFFF#000000##FFFFFF
##526E181.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#706520
Tritanopia (blue-blind)
#56695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #526e18;
/* rgb */ color: rgb(82, 110, 24);
/* oklch */ color: oklch(49.9% 0.115 126.3);
Tailwind
colors: {
  custom: {
    50: '#86975c',
    500: '#526e18',
    950: '#000000',
  },
}
SCSS
$custom: #526e18;
$custom-light: #86975c;
$custom-dark: #000000;
JSON
{
  "hex": "#526e18",
  "rgb": {
    "r": 82,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 79.535,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.11503,
    "h": 126.3
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#526E18
secondary
#5F3EA4
accent
#41E777
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526E18

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

Preview Lab → · Contrast checker → · Palette generator →

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