#252F04#252F04

#252F04 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.6% C 0.065 H 122.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#252F04
RGBrgb(37, 47, 4)
HSLhsl(74, 84%, 10%)
HSVhsv(74, 91%, 18%)
CMYKcmyk(21.3%, 0%, 91.5%, 81.6%)
CIE-LABlab(17.62, -11.62, 23.38)
CIE-LCHlch(17.62, 26.10, 116.42°)
OKLaboklab(28.59% -0.0343 0.0547)
OKLCHoklch(28.59% 0.065 122.1)
XYZxyz(1.8014, 2.4351, 0.4900)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F04 #0E042F
analogous
#2F2304 #252F04 #102F04
triadic
#252F04 #04252F #2F0425
tetradic
#252F04 #042F23 #0E042F #2F0410
square
#252F04 #042F23 #0E042F #2F0410
split-complementary
#252F04 #04102F #23042F
monochromatic
#161C02 #161C02 #252F04 #516709 #7EA00E

Accessibility & contrast

On white

14.12
#252F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#252F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F04
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F04#FFFFFF#000000##FFFFFF
##252F041.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312B07
Tritanopia (blue-blind)
#282C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #252f04;
/* rgb */ color: rgb(37, 47, 4);
/* oklch */ color: oklch(28.6% 0.065 122.1);
Tailwind
colors: {
  custom: {
    50: '#616749',
    500: '#252f04',
    950: '#000000',
  },
}
SCSS
$custom: #252f04;
$custom-light: #616749;
$custom-dark: #000000;
JSON
{
  "hex": "#252f04",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 73.953,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.2859,
    "c": 0.06456,
    "h": 122.1
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#252F04
secondary
#311D72
accent
#2DFB5D
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #252F04

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

Preview Lab → · Contrast checker → · Palette generator →

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