#253904#253904

#253904 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.079 H 128.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#253904
RGBrgb(37, 57, 4)
HSLhsl(83, 87%, 12%)
HSVhsv(83, 93%, 22%)
CMYKcmyk(35.1%, 0%, 93%, 77.6%)
CIE-LABlab(21.31, -17.31, 27.61)
CIE-LCHlch(21.31, 32.59, 122.09°)
OKLaboklab(31.58% -0.0497 0.0617)
OKLCHoklch(31.58% 0.079 128.9)
XYZxyz(2.2480, 3.3283, 0.6388)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253904 #180439
analogous
#393304 #253904 #0A3904
triadic
#253904 #042539 #390425
tetradic
#253904 #043933 #180439 #39040A
square
#253904 #043933 #180439 #39040A
split-complementary
#253904 #040A39 #330439
monochromatic
#131D02 #131D02 #253904 #4A7208 #6FAB0C

Accessibility & contrast

On white

12.61
#253904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#253904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253904
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253904#FFFFFF#000000##FFFFFF
##2539041.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3A3309
Tritanopia (blue-blind)
#27362F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #253904;
/* rgb */ color: rgb(37, 57, 4);
/* oklch */ color: oklch(31.6% 0.079 128.9);
Tailwind
colors: {
  custom: {
    50: '#626f4a',
    500: '#253904',
    950: '#000000',
  },
}
SCSS
$custom: #253904;
$custom-light: #626f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#253904",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 82.642,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31584,
    "c": 0.07927,
    "h": 128.9
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#253904
secondary
#411E7B
accent
#2BFD7A
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #253904

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

Preview Lab → · Contrast checker → · Palette generator →

#253904 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva