#526F18#526F18

#526F18 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.116 H 126.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#526F18
RGBrgb(82, 111, 24)
HSLhsl(80, 64%, 26%)
HSVhsv(80, 78%, 44%)
CMYKcmyk(26.1%, 0%, 78.4%, 56.5%)
CIE-LABlab(43.11, -24.12, 42.00)
CIE-LCHlch(43.11, 48.44, 119.87°)
OKLaboklab(50.14% -0.0695 0.0933)
OKLCHoklch(50.14% 0.116 126.7)
XYZxyz(9.3290, 13.2285, 2.9258)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F18 #35186F
analogous
#6F6118 #526F18 #276F18
triadic
#526F18 #18526F #6F1852
tetradic
#526F18 #186F61 #35186F #6F1827
square
#526F18 #186F61 #35186F #6F1827
split-complementary
#526F18 #18276F #61186F
monochromatic
#131905 #2D3D0D #526F18 #77A123 #9CD22F

Accessibility & contrast

On white

5.76
#526F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#526F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F18
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F18#FFFFFF#000000##FFFFFF
##526F181.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#566A5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f18;
/* rgb */ color: rgb(82, 111, 24);
/* oklch */ color: oklch(50.1% 0.116 126.7);
Tailwind
colors: {
  custom: {
    50: '#86985c',
    500: '#526f18',
    950: '#000000',
  },
}
SCSS
$custom: #526f18;
$custom-light: #86985c;
$custom-dark: #000000;
JSON
{
  "hex": "#526f18",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 80,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.11637,
    "h": 126.7
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#526F18
secondary
#603EA5
accent
#40E778
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526F18

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

Preview Lab → · Contrast checker → · Palette generator →

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