#415227#415227

#415227 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.3% C 0.069 H 126.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#415227
RGBrgb(65, 82, 39)
HSLhsl(84, 36%, 24%)
HSVhsv(84, 52%, 32%)
CMYKcmyk(20.7%, 0%, 52.4%, 67.8%)
CIE-LABlab(32.49, -14.88, 22.96)
CIE-LCHlch(32.49, 27.36, 122.94°)
OKLaboklab(41.29% -0.0414 0.0551)
OKLCHoklch(41.29% 0.069 126.9)
XYZxyz(5.5634, 7.3048, 3.0359)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#415227 #382752
analogous
#524D27 #415227 #2B5227
triadic
#415227 #274152 #522741
tetradic
#415227 #27524D #382752 #52272B
square
#415227 #27524D #382752 #52272B
split-complementary
#415227 #272B52 #4D2752
monochromatic
#10150A #202913 #415227 #627B3B #83A54E

Accessibility & contrast

On white

8.53
#415227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#415227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #415227
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##415227#FFFFFF#000000##FFFFFF
##4152271.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D23
Deuteranopia (green-blind)
#534C29
Tritanopia (blue-blind)
#434F48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #415227;
/* rgb */ color: rgb(65, 82, 39);
/* oklch */ color: oklch(41.3% 0.069 126.9);
Tailwind
colors: {
  custom: {
    50: '#778262',
    500: '#415227',
    950: '#000000',
  },
}
SCSS
$custom: #415227;
$custom-light: #778262;
$custom-dark: #000000;
JSON
{
  "hex": "#415227",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 83.721,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.06891,
    "h": 126.9
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#415227
secondary
#655085
accent
#5CCC88
background
#F7F7F5
surface
#EDEEEA
border
#C8C9C6
text
#080A05
muted
#7B7C79

Preview Lab

Preview with #415227

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

Preview Lab → · Contrast checker → · Palette generator →

#415227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva