#1B2502#1B2502

#1B2502 is a very dark, muted yellow-green. Relative luminance 0.016; OKLCH L 24.6% C 0.058 H 124.0°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#1B2502
RGBrgb(27, 37, 2)
HSLhsl(77, 90%, 8%)
HSVhsv(77, 95%, 15%)
CMYKcmyk(27%, 0%, 94.6%, 85.5%)
CIE-LABlab(12.99, -11.02, 18.11)
CIE-LCHlch(12.99, 21.20, 121.31°)
OKLaboklab(24.62% -0.0323 0.0479)
OKLCHoklch(24.62% 0.058 124)
XYZxyz(1.1245, 1.5605, 0.2994)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2502 #0C0225
analogous
#251D02 #1B2502 #092502
triadic
#1B2502 #021B25 #25021B
tetradic
#1B2502 #02251D #0C0225 #250209
square
#1B2502 #02251D #0C0225 #250209
split-complementary
#1B2502 #020925 #1D0225
monochromatic
#151D02 #151D02 #1B2502 #455F05 #709908

Accessibility & contrast

On white

16.00
#1B2502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1B2502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2502
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2502#FFFFFF#000000##FFFFFF
##1B25021.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#1D231E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b2502;
/* rgb */ color: rgb(27, 37, 2);
/* oklch */ color: oklch(24.6% 0.058 124.0);
Tailwind
colors: {
  custom: {
    50: '#575f47',
    500: '#1b2502',
    950: '#000000',
  },
}
SCSS
$custom: #1b2502;
$custom-light: #575f47;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2502",
  "rgb": {
    "r": 27,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 77.143,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.24616,
    "c": 0.05776,
    "h": 124
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#1B2502
secondary
#30186A
accent
#29FF66
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1B2502

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

Preview Lab → · Contrast checker → · Palette generator →

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