#04230F#04230F

#04230F is a very dark, muted green. Relative luminance 0.013; OKLCH L 22.7% C 0.053 H 151.9°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#04230F
RGBrgb(4, 35, 15)
HSLhsl(141, 79%, 8%)
HSVhsv(141, 89%, 14%)
CMYKcmyk(88.6%, 0%, 57.1%, 86.3%)
CIE-LABlab(11.01, -17.25, 9.59)
CIE-LCHlch(11.01, 19.74, 150.93°)
OKLaboklab(22.69% -0.047 0.0251)
OKLCHoklch(22.69% 0.053 151.9)
XYZxyz(0.7373, 1.2623, 0.6566)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04230F #230418
analogous
#092304 #04230F #04231E
triadic
#04230F #0F0423 #230F04
tetradic
#04230F #040923 #230418 #231E04
square
#04230F #040923 #230418 #231E04
split-complementary
#04230F #1E0423 #230409
monochromatic
#031B0C #031B0C #04230F #0A5A27 #11913E

Accessibility & contrast

On white

16.77
#04230F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#04230F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04230F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04230F#FFFFFF#000000##FFFFFF
##04230F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0E
Deuteranopia (green-blind)
#1F1C10
Tritanopia (blue-blind)
#00221E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #04230f;
/* rgb */ color: rgb(4, 35, 15);
/* oklch */ color: oklch(22.7% 0.053 151.9);
Tailwind
colors: {
  custom: {
    50: '#485e4e',
    500: '#04230f',
    950: '#000000',
  },
}
SCSS
$custom: #04230f;
$custom-light: #485e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#04230f",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 15
  },
  "hsl": {
    "h": 141.29,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22692,
    "c": 0.05324,
    "h": 151.9
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#04230F
secondary
#661D4C
accent
#32B0F6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #04230F

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

Preview Lab → · Contrast checker → · Palette generator →

#04230F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva