#182F04#182F04

#182F04 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.073 H 133.7°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#182F04
RGBrgb(24, 47, 4)
HSLhsl(92, 84%, 10%)
HSVhsv(92, 91%, 18%)
CMYKcmyk(48.9%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.68, -17.86, 22.01)
CIE-LCHlch(16.68, 28.34, 129.05°)
OKLaboklab(27.58% -0.0502 0.0526)
OKLCHoklch(27.58% 0.073 133.7)
XYZxyz(1.4151, 2.2359, 0.4719)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F04 #1B042F
analogous
#2E2F04 #182F04 #042F05
triadic
#182F04 #04182F #2F0418
tetradic
#182F04 #042E2F #1B042F #2F0504
square
#182F04 #042E2F #1B042F #2F0504
split-complementary
#182F04 #05042F #2F042E
monochromatic
#0E1C02 #0E1C02 #182F04 #356709 #52A00E

Accessibility & contrast

On white

14.51
#182F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#182F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F04
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F04#FFFFFF#000000##FFFFFF
##182F041.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2E2908
Tritanopia (blue-blind)
#182D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182f04;
/* rgb */ color: rgb(24, 47, 4);
/* oklch */ color: oklch(27.6% 0.073 133.7);
Tailwind
colors: {
  custom: {
    50: '#576749',
    500: '#182f04',
    950: '#000000',
  },
}
SCSS
$custom: #182f04;
$custom-light: #576749;
$custom-dark: #000000;
JSON
{
  "hex": "#182f04",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 92.093,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27575,
    "c": 0.07269,
    "h": 133.7
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#182F04
secondary
#4A1D72
accent
#2DFB9B
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030601
muted
#787A77

Preview Lab

Preview with #182F04

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

Preview Lab → · Contrast checker → · Palette generator →

#182F04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva