#526F1A#526F1A

#526F1A is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.115 H 126.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#526F1A
RGBrgb(82, 111, 26)
HSLhsl(80, 62%, 27%)
HSVhsv(80, 77%, 44%)
CMYKcmyk(26.1%, 0%, 76.6%, 56.5%)
CIE-LABlab(43.12, -24.00, 41.26)
CIE-LCHlch(43.12, 47.73, 120.19°)
OKLaboklab(50.15% -0.069 0.0921)
OKLCHoklch(50.15% 0.115 126.9)
XYZxyz(9.3506, 13.2371, 3.0395)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F1A #371A6F
analogous
#6F621A #526F1A #276F1A
triadic
#526F1A #1A526F #6F1A52
tetradic
#526F1A #1A6F62 #371A6F #6F1A27
square
#526F1A #1A6F62 #371A6F #6F1A27
split-complementary
#526F1A #1A276F #621A6F
monochromatic
#121906 #2D3D0E #526F1A #77A126 #9ACF34

Accessibility & contrast

On white

5.76
#526F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#526F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526F1A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F1A#FFFFFF#000000##FFFFFF
##526F1A1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670A
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#556A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f1a;
/* rgb */ color: rgb(82, 111, 26);
/* oklch */ color: oklch(50.1% 0.115 126.9);
Tailwind
colors: {
  custom: {
    50: '#86985d',
    500: '#526f1a',
    950: '#000000',
  },
}
SCSS
$custom: #526f1a;
$custom-light: #86985d;
$custom-dark: #000000;
JSON
{
  "hex": "#526f1a",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 80.471,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.1151,
    "h": 126.9
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#526F1A
secondary
#6341A4
accent
#43E57A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526F1A

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

Preview Lab → · Contrast checker → · Palette generator →

#526F1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva