#526118#526118

#526118 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.5% C 0.098 H 120.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#526118
RGBrgb(82, 97, 24)
HSLhsl(72, 60%, 24%)
HSVhsv(72, 75%, 38%)
CMYKcmyk(15.5%, 0%, 75.3%, 62%)
CIE-LABlab(38.57, -16.82, 37.57)
CIE-LCHlch(38.57, 41.17, 114.11°)
OKLaboklab(46.47% -0.0495 0.084)
OKLCHoklch(46.47% 0.098 120.5)
XYZxyz(7.9194, 10.4092, 2.4559)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526118 #271861
analogous
#614B18 #526118 #2D6118
triadic
#526118 #185261 #611852
tetradic
#526118 #18614B #271861 #61182D
square
#526118 #18614B #271861 #61182D
split-complementary
#526118 #182D61 #4B1861
monochromatic
#151906 #29300C #526118 #7B9224 #A5C330

Accessibility & contrast

On white

6.81
#526118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#526118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526118
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526118#FFFFFF#000000##FFFFFF
##5261181.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0C
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#575C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #526118;
/* rgb */ color: rgb(82, 97, 24);
/* oklch */ color: oklch(46.5% 0.098 120.5);
Tailwind
colors: {
  custom: {
    50: '#858d5a',
    500: '#526118',
    950: '#000000',
  },
}
SCSS
$custom: #526118;
$custom-light: #858d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#526118",
  "rgb": {
    "r": 82,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 72.329,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46466,
    "c": 0.09751,
    "h": 120.5
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#526118
secondary
#503D97
accent
#44E365
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #526118

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

Preview Lab → · Contrast checker → · Palette generator →

#526118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva