#526229#526229

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

Color values

HEX#526229
RGBrgb(82, 98, 41)
HSLhsl(77, 41%, 27%)
HSVhsv(77, 58%, 38%)
CMYKcmyk(16.3%, 0%, 58.2%, 61.6%)
CIE-LABlab(39.05, -15.93, 29.99)
CIE-LCHlch(39.05, 33.96, 117.99°)
OKLaboklab(46.91% -0.0452 0.0704)
OKLCHoklch(46.91% 0.084 122.7)
XYZxyz(8.2476, 10.6893, 3.7261)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526229 #392962
analogous
#625629 #526229 #366229
triadic
#526229 #295262 #622952
tetradic
#526229 #296256 #392962 #622936
square
#526229 #296256 #392962 #622936
split-complementary
#526229 #293662 #562962
monochromatic
#121609 #2E3717 #526229 #768D3B #99B650

Accessibility & contrast

On white

6.69
#526229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #526229
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526229#FFFFFF#000000##FFFFFF
##5262291.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C23
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#565D55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #526229;
/* rgb */ color: rgb(82, 98, 41);
/* oklch */ color: oklch(46.9% 0.084 122.7);
Tailwind
colors: {
  custom: {
    50: '#848e65',
    500: '#526229',
    950: '#000000',
  },
}
SCSS
$custom: #526229;
$custom-light: #848e65;
$custom-dark: #000000;
JSON
{
  "hex": "#526229",
  "rgb": {
    "r": 82,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 76.842,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46909,
    "c": 0.08368,
    "h": 122.7
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#526229
secondary
#655295
accent
#57D179
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #526229

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

Preview Lab → · Contrast checker → · Palette generator →

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