#252D03#252D03

#252D03 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.063 H 120.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#252D03
RGBrgb(37, 45, 3)
HSLhsl(71, 88%, 9%)
HSVhsv(71, 93%, 18%)
CMYKcmyk(17.8%, 0%, 93.3%, 82.4%)
CIE-LABlab(16.88, -10.50, 22.88)
CIE-LCHlch(16.88, 25.17, 114.65°)
OKLaboklab(27.99% -0.0314 0.0543)
OKLCHoklch(27.99% 0.063 120)
XYZxyz(1.7178, 2.2767, 0.4351)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D03 #0B032D
analogous
#2D2003 #252D03 #102D03
triadic
#252D03 #03252D #2D0325
tetradic
#252D03 #032D20 #0B032D #2D0310
square
#252D03 #032D20 #0B032D #2D0310
split-complementary
#252D03 #03102D #20032D
monochromatic
#181D02 #181D02 #252D03 #546607 #83A00B

Accessibility & contrast

On white

14.43
#252D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#252D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D03
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D03#FFFFFF#000000##FFFFFF
##252D031.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#282A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #252d03;
/* rgb */ color: rgb(37, 45, 3);
/* oklch */ color: oklch(28.0% 0.063 120.0);
Tailwind
colors: {
  custom: {
    50: '#616548',
    500: '#252d03',
    950: '#000000',
  },
}
SCSS
$custom: #252d03;
$custom-light: #616548;
$custom-dark: #000000;
JSON
{
  "hex": "#252d03",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 71.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27985,
    "c": 0.06272,
    "h": 120
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#252D03
secondary
#2B1B71
accent
#2AFE52
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #252D03

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

Preview Lab → · Contrast checker → · Palette generator →

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