#1B2F03#1B2F03

#1B2F03 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 27.8% C 0.072 H 131.2°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#1B2F03
RGBrgb(27, 47, 3)
HSLhsl(87, 88%, 10%)
HSVhsv(87, 94%, 18%)
CMYKcmyk(42.6%, 0%, 93.6%, 81.6%)
CIE-LABlab(16.86, -16.63, 22.68)
CIE-LCHlch(16.86, 28.12, 126.26°)
OKLaboklab(27.77% -0.0473 0.054)
OKLCHoklch(27.77% 0.072 131.2)
XYZxyz(1.4849, 2.2726, 0.4465)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F03 #17032F
analogous
#2F2D03 #1B2F03 #052F03
triadic
#1B2F03 #031B2F #2F031B
tetradic
#1B2F03 #032F2D #17032F #2F0305
square
#1B2F03 #032F2D #17032F #2F0305
split-complementary
#1B2F03 #03052F #2D032F
monochromatic
#111D02 #111D02 #1B2F03 #3C6907 #5DA20A

Accessibility & contrast

On white

14.44
#1B2F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1B2F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F03
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F03#FFFFFF#000000##FFFFFF
##1B2F031.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#1C2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2f03;
/* rgb */ color: rgb(27, 47, 3);
/* oklch */ color: oklch(27.8% 0.072 131.2);
Tailwind
colors: {
  custom: {
    50: '#596748',
    500: '#1b2f03',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f03;
$custom-light: #596748;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f03",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 87.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27768,
    "c": 0.0718,
    "h": 131.2
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#1B2F03
secondary
#431B73
accent
#2AFE8A
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1B2F03

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

Preview Lab → · Contrast checker → · Palette generator →

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