#252F02#252F02

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

Color values

HEX#252F02
RGBrgb(37, 47, 2)
HSLhsl(73, 92%, 10%)
HSVhsv(73, 96%, 18%)
CMYKcmyk(21.3%, 0%, 95.7%, 81.6%)
CIE-LABlab(17.60, -11.80, 24.17)
CIE-LCHlch(17.60, 26.89, 116.02°)
OKLaboklab(28.57% -0.0351 0.0567)
OKLCHoklch(28.57% 0.067 121.8)
XYZxyz(1.7905, 2.4307, 0.4323)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F02 #0C022F
analogous
#2F2302 #252F02 #0F2F02
triadic
#252F02 #02252F #2F0225
tetradic
#252F02 #022F23 #0C022F #2F020F
square
#252F02 #022F23 #0C022F #2F020F
split-complementary
#252F02 #020F2F #23022F
monochromatic
#171D01 #171D01 #252F02 #536A04 #81A407

Accessibility & contrast

On white

14.13
#252F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252F02
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F02#FFFFFF#000000##FFFFFF
##252F021.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252f02;
/* rgb */ color: rgb(37, 47, 2);
/* oklch */ color: oklch(28.6% 0.067 121.8);
Tailwind
colors: {
  custom: {
    50: '#616748',
    500: '#252f02',
    950: '#000000',
  },
}
SCSS
$custom: #252f02;
$custom-light: #616748;
$custom-dark: #000000;
JSON
{
  "hex": "#252f02",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 73.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28567,
    "c": 0.06667,
    "h": 121.8
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#252F02
secondary
#2D1974
accent
#29FF58
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #252F02

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

Preview Lab → · Contrast checker → · Palette generator →

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