#525F28#525F28

#525F28 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 46.1% C 0.080 H 120.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#525F28
RGBrgb(82, 95, 40)
HSLhsl(74, 41%, 26%)
HSVhsv(74, 58%, 37%)
CMYKcmyk(13.7%, 0%, 57.9%, 62.7%)
CIE-LABlab(38.08, -14.38, 29.38)
CIE-LCHlch(38.08, 32.71, 116.08°)
OKLaboklab(46.12% -0.041 0.069)
OKLCHoklch(46.12% 0.08 120.7)
XYZxyz(7.9550, 10.1315, 3.5436)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#525F28 #35285F
analogous
#5F5128 #525F28 #375F28
triadic
#525F28 #28525F #5F2852
tetradic
#525F28 #285F51 #35285F #5F2837
square
#525F28 #285F51 #35285F #5F2837
split-complementary
#525F28 #28375F #51285F
monochromatic
#131609 #2D3416 #525F28 #778A3A #9CB44D

Accessibility & contrast

On white

6.94
#525F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#525F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #525F28
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##525F28#FFFFFF#000000##FFFFFF
##525F281.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A23
Deuteranopia (green-blind)
#635A2B
Tritanopia (blue-blind)
#565A53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #525f28;
/* rgb */ color: rgb(82, 95, 40);
/* oklch */ color: oklch(46.1% 0.080 120.7);
Tailwind
colors: {
  custom: {
    50: '#848c64',
    500: '#525f28',
    950: '#000000',
  },
}
SCSS
$custom: #525f28;
$custom-light: #848c64;
$custom-dark: #000000;
JSON
{
  "hex": "#525f28",
  "rgb": {
    "r": 82,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 74.182,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46121,
    "c": 0.08025,
    "h": 120.7
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#525F28
secondary
#605192
accent
#57D174
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #525F28

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

Preview Lab → · Contrast checker → · Palette generator →

#525F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva