#252F05#252F05

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

Color values

HEX#252F05
RGBrgb(37, 47, 5)
HSLhsl(74, 81%, 10%)
HSVhsv(74, 89%, 18%)
CMYKcmyk(21.3%, 0%, 89.4%, 81.6%)
CIE-LABlab(17.63, -11.52, 22.98)
CIE-LCHlch(17.63, 25.71, 116.63°)
OKLaboklab(28.6% -0.0339 0.0537)
OKLCHoklch(28.6% 0.064 122.2)
XYZxyz(1.8069, 2.4373, 0.5188)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F05 #0F052F
analogous
#2F2405 #252F05 #102F05
triadic
#252F05 #05252F #2F0525
tetradic
#252F05 #052F24 #0F052F #2F0510
square
#252F05 #052F24 #0F052F #2F0510
split-complementary
#252F05 #05102F #24052F
monochromatic
#161C03 #161C03 #252F05 #51660B #7C9E11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252F05#FFFFFF#000000##FFFFFF
##252F051.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)
#322B01
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#282C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #252f05;
/* rgb */ color: rgb(37, 47, 5);
/* oklch */ color: oklch(28.6% 0.064 122.2);
Tailwind
colors: {
  custom: {
    50: '#616749',
    500: '#252f05',
    950: '#000000',
  },
}
SCSS
$custom: #252f05;
$custom-light: #616749;
$custom-dark: #000000;
JSON
{
  "hex": "#252f05",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 74.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28601,
    "c": 0.06352,
    "h": 122.2
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#252F05
secondary
#331F71
accent
#31F760
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #252F05

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

Preview Lab → · Contrast checker → · Palette generator →

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