#224F0F#224F0F

#224F0F is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.105 H 138.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#224F0F
RGBrgb(34, 79, 15)
HSLhsl(102, 68%, 18%)
HSVhsv(102, 81%, 31%)
CMYKcmyk(57%, 0%, 81%, 69%)
CIE-LABlab(29.33, -28.37, 31.11)
CIE-LCHlch(29.33, 42.10, 132.36°)
OKLaboklab(38.13% -0.0784 0.07)
OKLCHoklch(38.13% 0.105 138.2)
XYZxyz(3.5418, 5.9663, 1.4168)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F0F #3C0F4F
analogous
#424F0F #224F0F #0F4F1C
triadic
#224F0F #0F224F #4F0F22
tetradic
#224F0F #0F424F #3C0F4F #4F1C0F
square
#224F0F #0F424F #3C0F4F #4F1C0F
split-complementary
#224F0F #1C0F4F #4F0F42
monochromatic
#0B1A05 #0C1C05 #224F0F #388219 #4EB623

Accessibility & contrast

On white

9.57
#224F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#224F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F0F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F0F#FFFFFF#000000##FFFFFF
##224F0F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524704
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#1E4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #224f0f;
/* rgb */ color: rgb(34, 79, 15);
/* oklch */ color: oklch(38.1% 0.105 138.2);
Tailwind
colors: {
  custom: {
    50: '#638152',
    500: '#224f0f',
    950: '#000000',
  },
}
SCSS
$custom: #224f0f;
$custom-light: #638152;
$custom-dark: #000000;
JSON
{
  "hex": "#224f0f",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 102.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.10508,
    "h": 138.2
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#224F0F
secondary
#6F3189
accent
#3DEBB7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #224F0F

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

Preview Lab → · Contrast checker → · Palette generator →

#224F0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva