#252C04#252C04

#252C04 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.7% C 0.060 H 119.1°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#252C04
RGBrgb(37, 44, 4)
HSLhsl(71, 83%, 9%)
HSVhsv(71, 91%, 17%)
CMYKcmyk(15.9%, 0%, 90.9%, 82.7%)
CIE-LABlab(16.52, -9.79, 22.03)
CIE-LCHlch(16.52, 24.10, 113.96°)
OKLaboklab(27.7% -0.0293 0.0526)
OKLCHoklch(27.7% 0.06 119.1)
XYZxyz(1.6856, 2.2035, 0.4514)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C04 #0B042C
analogous
#2C1F04 #252C04 #112C04
triadic
#252C04 #04252C #2C0425
tetradic
#252C04 #042C1F #0B042C #2C0411
square
#252C04 #042C1F #0B042C #2C0411
split-complementary
#252C04 #04112C #1F042C
monochromatic
#181C03 #181C03 #252C04 #546409 #839C0E

Accessibility & contrast

On white

14.58
#252C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#252C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C04
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C04#FFFFFF#000000##FFFFFF
##252C041.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#282924
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #252c04;
/* rgb */ color: rgb(37, 44, 4);
/* oklch */ color: oklch(27.7% 0.060 119.1);
Tailwind
colors: {
  custom: {
    50: '#606549',
    500: '#252c04',
    950: '#000000',
  },
}
SCSS
$custom: #252c04;
$custom-light: #606549;
$custom-dark: #000000;
JSON
{
  "hex": "#252c04",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 70.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27701,
    "c": 0.06016,
    "h": 119.1
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#252C04
secondary
#2B1D6F
accent
#2EFA52
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #252C04

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

Preview Lab → · Contrast checker → · Palette generator →

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