#526227#526227

#526227 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.9% C 0.086 H 122.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#526227
RGBrgb(82, 98, 39)
HSLhsl(76, 43%, 27%)
HSVhsv(76, 60%, 38%)
CMYKcmyk(16.3%, 0%, 60.2%, 61.6%)
CIE-LABlab(39.03, -16.14, 31.00)
CIE-LCHlch(39.03, 34.95, 117.50°)
OKLaboklab(46.88% -0.046 0.0724)
OKLCHoklch(46.88% 0.086 122.4)
XYZxyz(8.2136, 10.6757, 3.5470)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526227 #372762
analogous
#625527 #526227 #356227
triadic
#526227 #275262 #622752
tetradic
#526227 #276255 #372762 #622735
square
#526227 #276255 #372762 #622735
split-complementary
#526227 #273562 #552762
monochromatic
#121609 #2D3616 #526227 #778E38 #9AB84C

Accessibility & contrast

On white

6.70
#526227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#526227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526227
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526227#FFFFFF#000000##FFFFFF
##5262271.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C21
Deuteranopia (green-blind)
#655C2B
Tritanopia (blue-blind)
#565D55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526227;
/* rgb */ color: rgb(82, 98, 39);
/* oklch */ color: oklch(46.9% 0.086 122.4);
Tailwind
colors: {
  custom: {
    50: '#848e63',
    500: '#526227',
    950: '#000000',
  },
}
SCSS
$custom: #526227;
$custom-light: #848e63;
$custom-dark: #000000;
JSON
{
  "hex": "#526227",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 76.271,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.08576,
    "h": 122.4
  },
  "luminance": 0.10676
}

Semantic roles & 50–950 ramp

primary
#526227
secondary
#635095
accent
#55D377
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #526227

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

Preview Lab → · Contrast checker → · Palette generator →

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