#04250A#04250A

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

Color values

HEX#04250A
RGBrgb(4, 37, 10)
HSLhsl(131, 80%, 8%)
HSVhsv(131, 89%, 15%)
CMYKcmyk(89.2%, 0%, 73%, 85.5%)
CIE-LABlab(11.76, -19.30, 12.97)
CIE-LCHlch(11.76, 23.25, 146.11°)
OKLaboklab(23.29% -0.0523 0.0342)
OKLCHoklch(23.29% 0.062 146.8)
XYZxyz(0.7664, 1.3708, 0.5113)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04250A #25041F
analogous
#0E2504 #04250A #04251A
triadic
#04250A #0A0425 #250A04
tetradic
#04250A #040E25 #25041F #251A04
square
#04250A #040E25 #25041F #251A04
split-complementary
#04250A #1A0425 #25040E
monochromatic
#031C07 #031C07 #04250A #0A5C19 #109328

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##04250A#FFFFFF#000000##FFFFFF
##04250A1.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)
#262108
Deuteranopia (green-blind)
#221E0C
Tritanopia (blue-blind)
#00241F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #04250a;
/* rgb */ color: rgb(4, 37, 10);
/* oklch */ color: oklch(23.3% 0.062 146.8);
Tailwind
colors: {
  custom: {
    50: '#48604b',
    500: '#04250a',
    950: '#000000',
  },
}
SCSS
$custom: #04250a;
$custom-light: #48604b;
$custom-dark: #000000;
JSON
{
  "hex": "#04250a",
  "rgb": {
    "r": 4,
    "g": 37,
    "b": 10
  },
  "hsl": {
    "h": 130.909,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23286,
    "c": 0.06245,
    "h": 146.8
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#04250A
secondary
#681D5A
accent
#31D3F7
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010501
muted
#777977

Preview Lab

Preview with #04250A

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

Preview Lab → · Contrast checker → · Palette generator →

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