#1B2F05#1B2F05

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

Color values

HEX#1B2F05
RGBrgb(27, 47, 5)
HSLhsl(89, 81%, 10%)
HSVhsv(89, 89%, 18%)
CMYKcmyk(42.6%, 0%, 89.4%, 81.6%)
CIE-LABlab(16.88, -16.41, 21.89)
CIE-LCHlch(16.88, 27.36, 126.87°)
OKLaboklab(27.79% -0.0464 0.052)
OKLCHoklch(27.79% 0.07 131.8)
XYZxyz(1.4959, 2.2769, 0.5042)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F05 #19052F
analogous
#2F2E05 #1B2F05 #062F05
triadic
#1B2F05 #051B2F #2F051B
tetradic
#1B2F05 #052F2E #19052F #2F0506
square
#1B2F05 #052F2E #19052F #2F0506
split-complementary
#1B2F05 #05062F #2E052F
monochromatic
#101C03 #101C03 #1B2F05 #3B660B #5B9E11

Accessibility & contrast

On white

14.43
#1B2F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1B2F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F05
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F05#FFFFFF#000000##FFFFFF
##1B2F051.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B01
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#1C2D27
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2f05;
/* rgb */ color: rgb(27, 47, 5);
/* oklch */ color: oklch(27.8% 0.070 131.8);
Tailwind
colors: {
  custom: {
    50: '#596749',
    500: '#1b2f05',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f05;
$custom-light: #596749;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f05",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 88.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27792,
    "c": 0.0697,
    "h": 131.8
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#1B2F05
secondary
#461F71
accent
#31F78F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #1B2F05

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

Preview Lab → · Contrast checker → · Palette generator →

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