#526A0F#526A0F

#526A0F is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.8% C 0.115 H 124.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#526A0F
RGBrgb(82, 106, 15)
HSLhsl(76, 75%, 24%)
HSVhsv(76, 86%, 42%)
CMYKcmyk(22.6%, 0%, 85.8%, 58.4%)
CIE-LABlab(41.43, -22.04, 43.45)
CIE-LCHlch(41.43, 48.73, 116.90°)
OKLaboklab(48.76% -0.0646 0.0948)
OKLCHoklch(48.76% 0.115 124.3)
XYZxyz(8.7200, 12.1363, 2.3350)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526A0F #270F6A
analogous
#6A540F #526A0F #246A0F
triadic
#526A0F #0F526A #6A0F52
tetradic
#526A0F #0F6A54 #270F6A #6A0F24
square
#526A0F #0F6A54 #270F6A #6A0F24
split-complementary
#526A0F #0F246A #540F6A
monochromatic
#151B04 #293407 #526A0F #7BA017 #A5D51E

Accessibility & contrast

On white

6.13
#526A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#526A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526A0F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526A0F#FFFFFF#000000##FFFFFF
##526A0F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#56645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #526a0f;
/* rgb */ color: rgb(82, 106, 15);
/* oklch */ color: oklch(48.8% 0.115 124.3);
Tailwind
colors: {
  custom: {
    50: '#869457',
    500: '#526a0f',
    950: '#000000',
  },
}
SCSS
$custom: #526a0f;
$custom-light: #869457;
$custom-dark: #000000;
JSON
{
  "hex": "#526a0f",
  "rgb": {
    "r": 82,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 75.824,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.1147,
    "h": 124.3
  },
  "luminance": 0.12136
}

Semantic roles & 50–950 ramp

primary
#526A0F
secondary
#5032A2
accent
#36F268
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #526A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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