#1F250F#1F250F

#1F250F is a dark, muted yellow-green. Relative luminance 0.016; OKLCH L 25.2% C 0.039 H 121.8°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#1F250F
RGBrgb(31, 37, 15)
HSLhsl(76, 42%, 10%)
HSVhsv(76, 59%, 15%)
CMYKcmyk(16.2%, 0%, 59.5%, 85.5%)
CIE-LABlab(13.53, -7.29, 13.29)
CIE-LCHlch(13.53, 15.16, 118.76°)
OKLaboklab(25.2% -0.0204 0.0329)
OKLCHoklch(25.2% 0.039 121.8)
XYZxyz(1.3129, 1.6489, 0.7010)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F250F #150F25
analogous
#25200F #1F250F #14250F
triadic
#1F250F #0F1F25 #250F1F
tetradic
#1F250F #0F2520 #150F25 #250F14
square
#1F250F #0F2520 #150F25 #250F14
split-complementary
#1F250F #0F1425 #200F25
monochromatic
#121609 #121609 #1F250F #435121 #687C32

Accessibility & contrast

On white

15.79
#1F250F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1F250F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F250F
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F250F#FFFFFF#000000##FFFFFF
##1F250F1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230D
Deuteranopia (green-blind)
#272310
Tritanopia (blue-blind)
#212320
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1f250f;
/* rgb */ color: rgb(31, 37, 15);
/* oklch */ color: oklch(25.2% 0.039 121.8);
Tailwind
colors: {
  custom: {
    50: '#5b5f4e',
    500: '#1f250f',
    950: '#000000',
  },
}
SCSS
$custom: #1f250f;
$custom-light: #5b5f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f250f",
  "rgb": {
    "r": 31,
    "g": 37,
    "b": 15
  },
  "hsl": {
    "h": 76.364,
    "s": 42.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25199,
    "c": 0.03873,
    "h": 121.8
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#1F250F
secondary
#3E335D
accent
#56D278
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #1F250F

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

Preview Lab → · Contrast checker → · Palette generator →

#1F250F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva