#225015#225015

#225015 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.102 H 139.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#225015
RGBrgb(34, 80, 21)
HSLhsl(107, 58%, 20%)
HSVhsv(107, 74%, 31%)
CMYKcmyk(57.5%, 0%, 73.7%, 68.6%)
CIE-LABlab(29.74, -28.26, 28.88)
CIE-LCHlch(29.74, 40.41, 134.38°)
OKLaboklab(38.49% -0.0776 0.0662)
OKLCHoklch(38.49% 0.102 139.5)
XYZxyz(3.6636, 6.1313, 1.6997)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225015 #431550
analogous
#3F5015 #225015 #155026
triadic
#225015 #152250 #501522
tetradic
#225015 #153F50 #431550 #502615
square
#225015 #153F50 #431550 #502615
split-complementary
#225015 #261550 #50153F
monochromatic
#0A1806 #0D2008 #225015 #378022 #4BB12E

Accessibility & contrast

On white

9.43
#225015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#225015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225015
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225015#FFFFFF#000000##FFFFFF
##2250151.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4C451A
Tritanopia (blue-blind)
#1D4D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #225015;
/* rgb */ color: rgb(34, 80, 21);
/* oklch */ color: oklch(38.5% 0.102 139.5);
Tailwind
colors: {
  custom: {
    50: '#638156',
    500: '#225015',
    950: '#000000',
  },
}
SCSS
$custom: #225015;
$custom-light: #638156;
$custom-dark: #000000;
JSON
{
  "hex": "#225015",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 106.78,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38489,
    "c": 0.10206,
    "h": 139.5
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#225015
secondary
#763988
accent
#46E2BF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #225015

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

Preview Lab → · Contrast checker → · Palette generator →

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