#526F1C#526F1C

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

Color values

HEX#526F1C
RGBrgb(82, 111, 28)
HSLhsl(81, 60%, 27%)
HSVhsv(81, 75%, 44%)
CMYKcmyk(26.1%, 0%, 74.8%, 56.5%)
CIE-LABlab(43.13, -23.87, 40.48)
CIE-LCHlch(43.13, 47.00, 120.53°)
OKLaboklab(50.17% -0.0685 0.0908)
OKLCHoklch(50.17% 0.114 127)
XYZxyz(9.3737, 13.2464, 3.1613)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F1C #391C6F
analogous
#6F631C #526F1C #296F1C
triadic
#526F1C #1C526F #6F1C52
tetradic
#526F1C #1C6F63 #391C6F #6F1C29
square
#526F1C #1C6F63 #391C6F #6F1C29
split-complementary
#526F1C #1C296F #631C6F
monochromatic
#121806 #2E3E10 #526F1C #76A028 #99CD38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526F1C#FFFFFF#000000##FFFFFF
##526F1C1.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)
#75670E
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#556A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f1c;
/* rgb */ color: rgb(82, 111, 28);
/* oklch */ color: oklch(50.2% 0.114 127.0);
Tailwind
colors: {
  custom: {
    50: '#85985e',
    500: '#526f1c',
    950: '#000000',
  },
}
SCSS
$custom: #526f1c;
$custom-light: #85985e;
$custom-dark: #000000;
JSON
{
  "hex": "#526f1c",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 80.964,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.11374,
    "h": 127
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#526F1C
secondary
#6543A4
accent
#45E37C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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