#526812#526812

#526812 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.3% C 0.111 H 123.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#526812
RGBrgb(82, 104, 18)
HSLhsl(75, 70%, 24%)
HSVhsv(75, 83%, 41%)
CMYKcmyk(21.2%, 0%, 82.7%, 59.2%)
CIE-LABlab(40.80, -20.87, 41.94)
CIE-LCHlch(40.80, 46.85, 116.46°)
OKLaboklab(48.25% -0.0612 0.0921)
OKLCHoklch(48.25% 0.111 123.6)
XYZxyz(8.5393, 11.7381, 2.3879)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526812 #281268
analogous
#685312 #526812 #276812
triadic
#526812 #125268 #681252
tetradic
#526812 #126853 #281268 #681227
square
#526812 #126853 #281268 #681227
split-complementary
#526812 #122768 #531268
monochromatic
#151A05 #293409 #526812 #7B9C1B #A4D024

Accessibility & contrast

On white

6.27
#526812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#526812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526812
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526812#FFFFFF#000000##FFFFFF
##5268121.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#576258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #526812;
/* rgb */ color: rgb(82, 104, 18);
/* oklch */ color: oklch(48.3% 0.111 123.6);
Tailwind
colors: {
  custom: {
    50: '#869358',
    500: '#526812',
    950: '#000000',
  },
}
SCSS
$custom: #526812;
$custom-light: #869358;
$custom-dark: #000000;
JSON
{
  "hex": "#526812",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 75.349,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.11058,
    "h": 123.6
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#526812
secondary
#5136A0
accent
#3BED68
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526812

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

Preview Lab → · Contrast checker → · Palette generator →

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