#1F2D03#1F2D03

#1F2D03 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.066 H 126.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1F2D03
RGBrgb(31, 45, 3)
HSLhsl(80, 88%, 9%)
HSVhsv(80, 93%, 18%)
CMYKcmyk(31.1%, 0%, 93.3%, 82.4%)
CIE-LABlab(16.38, -13.59, 22.15)
CIE-LCHlch(16.38, 25.99, 121.54°)
OKLaboklab(27.45% -0.0394 0.0532)
OKLCHoklch(27.45% 0.066 126.5)
XYZxyz(1.5199, 2.1746, 0.4258)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D03 #11032D
analogous
#2D2603 #1F2D03 #0A2D03
triadic
#1F2D03 #031F2D #2D031F
tetradic
#1F2D03 #032D26 #11032D #2D030A
square
#1F2D03 #032D26 #11032D #2D030A
split-complementary
#1F2D03 #030A2D #26032D
monochromatic
#141D02 #141D02 #1F2D03 #476607 #6EA00B

Accessibility & contrast

On white

14.63
#1F2D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1F2D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2D03
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D03#FFFFFF#000000##FFFFFF
##1F2D031.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#212A25
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1f2d03;
/* rgb */ color: rgb(31, 45, 3);
/* oklch */ color: oklch(27.5% 0.066 126.5);
Tailwind
colors: {
  custom: {
    50: '#5c6648',
    500: '#1f2d03',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d03;
$custom-light: #5c6648;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d03",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 80,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27453,
    "c": 0.06619,
    "h": 126.5
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#1F2D03
secondary
#381B71
accent
#2AFE71
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #1F2D03

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

Preview Lab → · Contrast checker → · Palette generator →

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