#223A0F#223A0F

#223A0F is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.074 H 133.8°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#223A0F
RGBrgb(34, 58, 15)
HSLhsl(93, 59%, 14%)
HSVhsv(93, 74%, 23%)
CMYKcmyk(41.4%, 0%, 74.1%, 77.3%)
CIE-LABlab(21.58, -18.24, 23.06)
CIE-LCHlch(21.58, 29.40, 128.33°)
OKLaboklab(31.78% -0.0509 0.0531)
OKLCHoklch(31.78% 0.074 133.8)
XYZxyz(2.2589, 3.4006, 0.9892)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A0F #270F3A
analogous
#383A0F #223A0F #0F3A12
triadic
#223A0F #0F223A #3A0F22
tetradic
#223A0F #0F383A #270F3A #3A120F
square
#223A0F #0F383A #270F3A #3A120F
split-complementary
#223A0F #120F3A #3A0F38
monochromatic
#0E1806 #0E1806 #223A0F #3F6B1C #5B9B28

Accessibility & contrast

On white

12.50
#223A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#223A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A0F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A0F#FFFFFF#000000##FFFFFF
##223A0F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350A
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#223731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223a0f;
/* rgb */ color: rgb(34, 58, 15);
/* oklch */ color: oklch(31.8% 0.074 133.8);
Tailwind
colors: {
  custom: {
    50: '#5f704f',
    500: '#223a0f',
    950: '#000000',
  },
}
SCSS
$custom: #223a0f;
$custom-light: #5f704f;
$custom-dark: #000000;
JSON
{
  "hex": "#223a0f",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 93.488,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31781,
    "c": 0.07357,
    "h": 133.8
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#223A0F
secondary
#563074
accent
#46E29D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #223A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#223A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva