#224F0B#224F0B

#224F0B is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.1% C 0.108 H 137.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#224F0B
RGBrgb(34, 79, 11)
HSLhsl(100, 76%, 18%)
HSVhsv(100, 86%, 31%)
CMYKcmyk(57%, 0%, 86.1%, 69%)
CIE-LABlab(29.30, -28.66, 32.62)
CIE-LCHlch(29.30, 43.42, 131.31°)
OKLaboklab(38.1% -0.0794 0.0725)
OKLCHoklch(38.1% 0.108 137.6)
XYZxyz(3.5160, 5.9559, 1.2809)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F0B #380B4F
analogous
#444F0B #224F0B #0B4F16
triadic
#224F0B #0B224F #4F0B22
tetradic
#224F0B #0B444F #380B4F #4F160B
square
#224F0B #0B444F #380B4F #4F160B
split-complementary
#224F0B #160B4F #4F0B44
monochromatic
#0C1B04 #0C1B04 #224F0B #398512 #50BA1A

Accessibility & contrast

On white

9.58
#224F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224F0B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F0B#FFFFFF#000000##FFFFFF
##224F0B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4C4413
Tritanopia (blue-blind)
#1F4C42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #224f0b;
/* rgb */ color: rgb(34, 79, 11);
/* oklch */ color: oklch(38.1% 0.108 137.6);
Tailwind
colors: {
  custom: {
    50: '#638150',
    500: '#224f0b',
    950: '#000000',
  },
}
SCSS
$custom: #224f0b;
$custom-light: #638150;
$custom-dark: #000000;
JSON
{
  "hex": "#224f0b",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 11
  },
  "hsl": {
    "h": 99.706,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38103,
    "c": 0.10754,
    "h": 137.6
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#224F0B
secondary
#6A2B8B
accent
#36F2B2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #224F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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