#04250B#04250B

#04250B is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.3% C 0.061 H 147.5°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#04250B
RGBrgb(4, 37, 11)
HSLhsl(133, 80%, 8%)
HSVhsv(133, 89%, 15%)
CMYKcmyk(89.2%, 0%, 70.3%, 85.5%)
CIE-LABlab(11.78, -19.14, 12.57)
CIE-LCHlch(11.78, 22.90, 146.71°)
OKLaboklab(23.3% -0.0517 0.033)
OKLCHoklch(23.3% 0.061 147.5)
XYZxyz(0.7720, 1.3730, 0.5409)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04250B #25041E
analogous
#0D2504 #04250B #04251B
triadic
#04250B #0B0425 #250B04
tetradic
#04250B #040D25 #25041E #251B04
square
#04250B #040D25 #25041E #251B04
split-complementary
#04250B #1B0425 #25040D
monochromatic
#031C08 #031C08 #04250B #0A5C1B #10932C

Accessibility & contrast

On white

16.48
#04250B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#04250B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04250B
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04250B#FFFFFF#000000##FFFFFF
##04250B1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262109
Deuteranopia (green-blind)
#221E0D
Tritanopia (blue-blind)
#00241F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #04250b;
/* rgb */ color: rgb(4, 37, 11);
/* oklch */ color: oklch(23.3% 0.061 147.5);
Tailwind
colors: {
  custom: {
    50: '#48604b',
    500: '#04250b',
    950: '#000000',
  },
}
SCSS
$custom: #04250b;
$custom-light: #48604b;
$custom-dark: #000000;
JSON
{
  "hex": "#04250b",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 11
  },
  "hsl": {
    "h": 132.727,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23303,
    "c": 0.06135,
    "h": 147.5
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#04250B
secondary
#681D58
accent
#31CDF7
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010501
muted
#777977

Preview Lab

Preview with #04250B

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

Preview Lab → · Contrast checker → · Palette generator →

#04250B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva