#253B04#253B04

#253B04 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.082 H 129.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#253B04
RGBrgb(37, 59, 4)
HSLhsl(84, 87%, 12%)
HSVhsv(84, 93%, 23%)
CMYKcmyk(37.3%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.05, -18.38, 28.40)
CIE-LCHlch(22.05, 33.83, 122.91°)
OKLaboklab(32.19% -0.0526 0.0631)
OKLCHoklch(32.19% 0.082 129.8)
XYZxyz(2.3488, 3.5299, 0.6724)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B04 #1A043B
analogous
#3B3604 #253B04 #093B04
triadic
#253B04 #04253B #3B0425
tetradic
#253B04 #043B36 #1A043B #3B0409
square
#253B04 #043B36 #1A043B #3B0409
split-complementary
#253B04 #04093B #36043B
monochromatic
#121D02 #121D02 #253B04 #497408 #6DAE0C

Accessibility & contrast

On white

12.31
#253B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#253B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B04
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B04#FFFFFF#000000##FFFFFF
##253B041.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3B3409
Tritanopia (blue-blind)
#263831
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #253b04;
/* rgb */ color: rgb(37, 59, 4);
/* oklch */ color: oklch(32.2% 0.082 129.8);
Tailwind
colors: {
  custom: {
    50: '#62714a',
    500: '#253b04',
    950: '#000000',
  },
}
SCSS
$custom: #253b04;
$custom-light: #62714a;
$custom-dark: #000000;
JSON
{
  "hex": "#253b04",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 84,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32187,
    "c": 0.08218,
    "h": 129.8
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#253B04
secondary
#441E7D
accent
#2AFD7F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #253B04

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

Preview Lab → · Contrast checker → · Palette generator →

#253B04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva