#1B2F02#1B2F02

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

Color values

HEX#1B2F02
RGBrgb(27, 47, 2)
HSLhsl(87, 92%, 10%)
HSVhsv(87, 96%, 18%)
CMYKcmyk(42.6%, 0%, 95.7%, 81.6%)
CIE-LABlab(16.85, -16.74, 23.07)
CIE-LCHlch(16.85, 28.50, 125.96°)
OKLaboklab(27.76% -0.0478 0.0551)
OKLCHoklch(27.76% 0.073 130.9)
XYZxyz(1.4795, 2.2704, 0.4177)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F02 #16022F
analogous
#2F2D02 #1B2F02 #042F02
triadic
#1B2F02 #021B2F #2F021B
tetradic
#1B2F02 #022F2D #16022F #2F0204
square
#1B2F02 #022F2D #16022F #2F0204
split-complementary
#1B2F02 #02042F #2D022F
monochromatic
#111D01 #111D01 #1B2F02 #3D6A04 #5EA407

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B2F02#FFFFFF#000000##FFFFFF
##1B2F021.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)
#2F2906
Tritanopia (blue-blind)
#1C2C27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2f02;
/* rgb */ color: rgb(27, 47, 2);
/* oklch */ color: oklch(27.8% 0.073 130.9);
Tailwind
colors: {
  custom: {
    50: '#596748',
    500: '#1b2f02',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f02;
$custom-light: #596748;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f02",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 86.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27756,
    "c": 0.07288,
    "h": 130.9
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#1B2F02
secondary
#411974
accent
#29FF88
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #1B2F02

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

Preview Lab → · Contrast checker → · Palette generator →

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