#225F0C#225F0C

#225F0C is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.128 H 139.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#225F0C
RGBrgb(34, 95, 12)
HSLhsl(104, 78%, 21%)
HSVhsv(104, 87%, 37%)
CMYKcmyk(64.2%, 0%, 87.4%, 62.7%)
CIE-LABlab(35.10, -35.23, 37.69)
CIE-LCHlch(35.10, 51.59, 133.07°)
OKLaboklab(42.9% -0.097 0.0833)
OKLCHoklch(42.9% 0.128 139.4)
XYZxyz(4.8181, 8.5506, 1.7443)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225F0C #490C5F
analogous
#4B5F0C #225F0C #0C5F1F
triadic
#225F0C #0C225F #5F0C22
tetradic
#225F0C #0C4B5F #490C5F #5F1F0C
square
#225F0C #0C4B5F #490C5F #5F1F0C
split-complementary
#225F0C #1F0C5F #5F0C4B
monochromatic
#0A1B03 #0F2905 #225F0C #359513 #49CC1A

Accessibility & contrast

On white

7.75
#225F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#225F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225F0C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225F0C#FFFFFF#000000##FFFFFF
##225F0C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#1B5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #225f0c;
/* rgb */ color: rgb(34, 95, 12);
/* oklch */ color: oklch(42.9% 0.128 139.4);
Tailwind
colors: {
  custom: {
    50: '#668d54',
    500: '#225f0c',
    950: '#000000',
  },
}
SCSS
$custom: #225f0c;
$custom-light: #668d54;
$custom-dark: #000000;
JSON
{
  "hex": "#225f0c",
  "rgb": {
    "r": 34,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 104.096,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.12785,
    "h": 139.4
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#225F0C
secondary
#7D2D99
accent
#34F4C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #225F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#225F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva