#426215#426215

#426215 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.109 H 129.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#426215
RGBrgb(66, 98, 21)
HSLhsl(85, 65%, 23%)
HSVhsv(85, 79%, 38%)
CMYKcmyk(32.7%, 0%, 78.6%, 61.6%)
CIE-LABlab(37.75, -24.62, 37.59)
CIE-LCHlch(37.75, 44.94, 123.22°)
OKLaboklab(45.5% -0.0701 0.084)
OKLCHoklch(45.5% 0.109 129.8)
XYZxyz(6.7498, 9.9476, 2.2738)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#426215 #351562
analogous
#625B15 #426215 #1B6215
triadic
#426215 #154262 #621542
tetradic
#426215 #15625B #351562 #62151B
square
#426215 #15625B #351562 #62151B
split-complementary
#426215 #151B62 #5B1562
monochromatic
#111905 #20300A #426215 #649420 #86C72B

Accessibility & contrast

On white

7.02
#426215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#426215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #426215
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##426215#FFFFFF#000000##FFFFFF
##4262151.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A06
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#445D53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #426215;
/* rgb */ color: rgb(66, 98, 21);
/* oklch */ color: oklch(45.5% 0.109 129.8);
Tailwind
colors: {
  custom: {
    50: '#7a8f59',
    500: '#426215',
    950: '#000000',
  },
}
SCSS
$custom: #426215;
$custom-light: #7a8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#426215",
  "rgb": {
    "r": 66,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 84.935,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.10934,
    "h": 129.8
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#426215
secondary
#613A99
accent
#40E886
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #426215

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

Preview Lab → · Contrast checker → · Palette generator →

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