#527F1F#527F1F

#527F1F is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.133 H 131.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#527F1F
RGBrgb(82, 127, 31)
HSLhsl(88, 61%, 31%)
HSVhsv(88, 76%, 50%)
CMYKcmyk(35.4%, 0%, 75.6%, 50.2%)
CIE-LABlab(48.35, -31.39, 44.49)
CIE-LCHlch(48.35, 54.45, 125.21°)
OKLaboklab(54.42% -0.0887 0.0997)
OKLCHoklch(54.42% 0.133 131.7)
XYZxyz(11.3163, 17.0711, 3.9949)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527F1F #4C1F7F
analogous
#7F7C1F #527F1F #227F1F
triadic
#527F1F #1F527F #7F1F52
tetradic
#527F1F #1F7F7C #4C1F7F #7F1F22
square
#527F1F #1F7F7C #4C1F7F #7F1F22
split-complementary
#527F1F #1F227F #7C1F7F
monochromatic
#121D07 #324E13 #527F1F #72B02B #91D246

Accessibility & contrast

On white

4.76
#527F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#527F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527F1F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527F1F#FFFFFF#000000##FFFFFF
##527F1F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#537A6C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #527f1f;
/* rgb */ color: rgb(82, 127, 31);
/* oklch */ color: oklch(54.4% 0.133 131.7);
Tailwind
colors: {
  custom: {
    50: '#87a462',
    500: '#527f1f',
    950: '#000000',
  },
}
SCSS
$custom: #527f1f;
$custom-light: #87a462;
$custom-dark: #000000;
JSON
{
  "hex": "#527f1f",
  "rgb": {
    "r": 82,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 88.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.13347,
    "h": 131.7
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#527F1F
secondary
#7A48B2
accent
#44E48F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #527F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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