#252F08#252F08

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

Color values

HEX#252F08
RGBrgb(37, 47, 8)
HSLhsl(75, 71%, 11%)
HSVhsv(75, 83%, 18%)
CMYKcmyk(21.3%, 0%, 83%, 81.6%)
CIE-LABlab(17.66, -11.25, 21.80)
CIE-LCHlch(17.66, 24.53, 117.30°)
OKLaboklab(28.64% -0.0327 0.0509)
OKLCHoklch(28.64% 0.061 122.7)
XYZxyz(1.8233, 2.4439, 0.6053)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F08 #12082F
analogous
#2F2508 #252F08 #112F08
triadic
#252F08 #08252F #2F0825
tetradic
#252F08 #082F25 #12082F #2F0811
square
#252F08 #082F25 #12082F #2F0811
split-complementary
#252F08 #08112F #25082F
monochromatic
#151A04 #151A04 #252F08 #4E6311 #77981A

Accessibility & contrast

On white

14.11
#252F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252F08
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F08#FFFFFF#000000##FFFFFF
##252F081.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C04
Deuteranopia (green-blind)
#312B0B
Tritanopia (blue-blind)
#272C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #252f08;
/* rgb */ color: rgb(37, 47, 8);
/* oklch */ color: oklch(28.6% 0.060 122.7);
Tailwind
colors: {
  custom: {
    50: '#61674b',
    500: '#252f08',
    950: '#000000',
  },
}
SCSS
$custom: #252f08;
$custom-light: #61674b;
$custom-dark: #000000;
JSON
{
  "hex": "#252f08",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 75.385,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28635,
    "c": 0.0605,
    "h": 122.7
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#252F08
secondary
#38256E
accent
#3AEE68
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #252F08

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

Preview Lab → · Contrast checker → · Palette generator →

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