#526F1F#526F1F

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

Color values

HEX#526F1F
RGBrgb(82, 111, 31)
HSLhsl(82, 56%, 28%)
HSVhsv(82, 72%, 44%)
CMYKcmyk(26.1%, 0%, 72.1%, 56.5%)
CIE-LABlab(43.15, -23.66, 39.26)
CIE-LCHlch(43.15, 45.84, 121.08°)
OKLaboklab(50.19% -0.0676 0.0887)
OKLCHoklch(50.19% 0.112 127.3)
XYZxyz(9.4114, 13.2615, 3.3599)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526F1F #3C1F6F
analogous
#6F641F #526F1F #2A6F1F
triadic
#526F1F #1F526F #6F1F52
tetradic
#526F1F #1F6F64 #3C1F6F #6F1F2A
square
#526F1F #1F6F64 #3C1F6F #6F1F2A
split-complementary
#526F1F #1F2A6F #641F6F
monochromatic
#121807 #2F3F12 #526F1F #759F2C #97C93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##526F1F#FFFFFF#000000##FFFFFF
##526F1F1.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)
#756713
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#556A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #526f1f;
/* rgb */ color: rgb(82, 111, 31);
/* oklch */ color: oklch(50.2% 0.112 127.3);
Tailwind
colors: {
  custom: {
    50: '#859860',
    500: '#526f1f',
    950: '#000000',
  },
}
SCSS
$custom: #526f1f;
$custom-light: #859860;
$custom-dark: #000000;
JSON
{
  "hex": "#526f1f",
  "rgb": {
    "r": 82,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 81.75,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.11157,
    "h": 127.3
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#526F1F
secondary
#6847A3
accent
#48E07F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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