#526F11#526F11

#526F11 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.120 H 126.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#526F11
RGBrgb(82, 111, 17)
HSLhsl(79, 73%, 25%)
HSVhsv(79, 85%, 44%)
CMYKcmyk(26.1%, 0%, 84.7%, 56.5%)
CIE-LABlab(43.07, -24.49, 44.32)
CIE-LCHlch(43.07, 50.63, 118.92°)
OKLaboklab(50.09% -0.0711 0.097)
OKLCHoklch(50.09% 0.12 126.2)
XYZxyz(9.2654, 13.2030, 2.5905)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F11 #2E116F
analogous
#6F5D11 #526F11 #236F11
triadic
#526F11 #11526F #6F1152
tetradic
#526F11 #116F5D #2E116F #6F1123
square
#526F11 #116F5D #2E116F #6F1123
split-complementary
#526F11 #11236F #5D116F
monochromatic
#141B04 #2B3A09 #526F11 #79A419 #A0D921

Accessibility & contrast

On white

5.77
#526F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#526F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F11
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F11#FFFFFF#000000##FFFFFF
##526F111.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#56695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f11;
/* rgb */ color: rgb(82, 111, 17);
/* oklch */ color: oklch(50.1% 0.120 126.2);
Tailwind
colors: {
  custom: {
    50: '#869859',
    500: '#526f11',
    950: '#000000',
  },
}
SCSS
$custom: #526f11;
$custom-light: #869859;
$custom-dark: #000000;
JSON
{
  "hex": "#526f11",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 78.511,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.12023,
    "h": 126.2
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#526F11
secondary
#5835A6
accent
#38F071
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526F11

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

Preview Lab → · Contrast checker → · Palette generator →

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