#526810#526810

#526810 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.112 H 123.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#526810
RGBrgb(82, 104, 16)
HSLhsl(75, 73%, 24%)
HSVhsv(75, 85%, 41%)
CMYKcmyk(21.2%, 0%, 84.6%, 59.2%)
CIE-LABlab(40.79, -20.97, 42.58)
CIE-LCHlch(40.79, 47.46, 116.22°)
OKLaboklab(48.24% -0.0616 0.0931)
OKLCHoklch(48.24% 0.112 123.5)
XYZxyz(8.5236, 11.7318, 2.3055)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526810 #261068
analogous
#685210 #526810 #266810
triadic
#526810 #105268 #681052
tetradic
#526810 #106852 #261068 #681026
square
#526810 #106852 #261068 #681026
split-complementary
#526810 #102668 #521068
monochromatic
#151B04 #283308 #526810 #7C9D18 #A6D220

Accessibility & contrast

On white

6.28
#526810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #526810
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526810#FFFFFF#000000##FFFFFF
##5268101.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #526810;
/* rgb */ color: rgb(82, 104, 16);
/* oklch */ color: oklch(48.2% 0.112 123.5);
Tailwind
colors: {
  custom: {
    50: '#869358',
    500: '#526810',
    950: '#000000',
  },
}
SCSS
$custom: #526810;
$custom-light: #869358;
$custom-dark: #000000;
JSON
{
  "hex": "#526810",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 75,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48243,
    "c": 0.11162,
    "h": 123.5
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#526810
secondary
#4F34A0
accent
#38F066
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526810

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

Preview Lab → · Contrast checker → · Palette generator →

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