#526F1E#526F1E

#526F1E is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.112 H 127.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#526F1E
RGBrgb(82, 111, 30)
HSLhsl(81, 57%, 28%)
HSVhsv(81, 73%, 44%)
CMYKcmyk(26.1%, 0%, 73%, 56.5%)
CIE-LABlab(43.15, -23.73, 39.67)
CIE-LCHlch(43.15, 46.23, 120.89°)
OKLaboklab(50.18% -0.0679 0.0895)
OKLCHoklch(50.18% 0.112 127.2)
XYZxyz(9.3985, 13.2563, 3.2916)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F1E #3B1E6F
analogous
#6F631E #526F1E #2A6F1E
triadic
#526F1E #1E526F #6F1E52
tetradic
#526F1E #1E6F63 #3B1E6F #6F1E2A
square
#526F1E #1E6F63 #3B1E6F #6F1E2A
split-complementary
#526F1E #1E2A6F #631E6F
monochromatic
#121807 #2E3F11 #526F1E #769F2B #98CB3D

Accessibility & contrast

On white

5.75
#526F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #526F1E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526F1E#FFFFFF#000000##FFFFFF
##526F1E1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756711
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#556A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f1e;
/* rgb */ color: rgb(82, 111, 30);
/* oklch */ color: oklch(50.2% 0.112 127.2);
Tailwind
colors: {
  custom: {
    50: '#85985f',
    500: '#526f1e',
    950: '#000000',
  },
}
SCSS
$custom: #526f1e;
$custom-light: #85985f;
$custom-dark: #000000;
JSON
{
  "hex": "#526f1e",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 81.481,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.11231,
    "h": 127.2
  },
  "luminance": 0.13256
}

Semantic roles & 50–950 ramp

primary
#526F1E
secondary
#6746A3
accent
#47E17E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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