#253F04#253F04

#253F04 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.4% C 0.088 H 131.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#253F04
RGBrgb(37, 63, 4)
HSLhsl(86, 88%, 13%)
HSVhsv(86, 94%, 25%)
CMYKcmyk(41.3%, 0%, 93.7%, 75.3%)
CIE-LABlab(23.53, -20.46, 29.93)
CIE-LCHlch(23.53, 36.26, 124.36°)
OKLaboklab(33.39% -0.0582 0.0659)
OKLCHoklch(33.39% 0.088 131.5)
XYZxyz(2.5623, 3.9570, 0.7436)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F04 #1E043F
analogous
#3F3B04 #253F04 #073F04
triadic
#253F04 #04253F #3F0425
tetradic
#253F04 #043F3B #1E043F #3F0407
square
#253F04 #043F3B #1E043F #3F0407
split-complementary
#253F04 #04073F #3B043F
monochromatic
#111D02 #111D02 #253F04 #477908 #69B20B

Accessibility & contrast

On white

11.72
#253F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#253F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F04
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F04#FFFFFF#000000##FFFFFF
##253F041.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3F370A
Tritanopia (blue-blind)
#263C34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253f04;
/* rgb */ color: rgb(37, 63, 4);
/* oklch */ color: oklch(33.4% 0.088 131.5);
Tailwind
colors: {
  custom: {
    50: '#63744a',
    500: '#253f04',
    950: '#000000',
  },
}
SCSS
$custom: #253f04;
$custom-light: #63744a;
$custom-dark: #000000;
JSON
{
  "hex": "#253f04",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 86.441,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33392,
    "c": 0.0879,
    "h": 131.5
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#253F04
secondary
#4A1E80
accent
#2AFE87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #253F04

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

Preview Lab → · Contrast checker → · Palette generator →

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