#182D0C#182D0C

#182D0C is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.061 H 135.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#182D0C
RGBrgb(24, 45, 12)
HSLhsl(98, 58%, 11%)
HSVhsv(98, 73%, 18%)
CMYKcmyk(46.7%, 0%, 73.3%, 82.4%)
CIE-LABlab(15.99, -15.87, 17.85)
CIE-LCHlch(15.99, 23.88, 131.64°)
OKLaboklab(27.04% -0.044 0.0428)
OKLCHoklch(27.04% 0.061 135.8)
XYZxyz(1.3814, 2.0974, 0.6798)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D0C #210C2D
analogous
#282D0C #182D0C #0C2D10
triadic
#182D0C #0C182D #2D0C18
tetradic
#182D0C #0C282D #210C2D #2D100C
square
#182D0C #0C282D #210C2D #2D100C
split-complementary
#182D0C #100C2D #2D0C28
monochromatic
#0D1806 #0D1806 #182D0C #325D19 #4C8E26

Accessibility & contrast

On white

14.79
#182D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#182D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D0C
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D0C#FFFFFF#000000##FFFFFF
##182D0C1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2908
Deuteranopia (green-blind)
#2C270E
Tritanopia (blue-blind)
#172B26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #182d0c;
/* rgb */ color: rgb(24, 45, 12);
/* oklch */ color: oklch(27.0% 0.061 135.8);
Tailwind
colors: {
  custom: {
    50: '#56664c',
    500: '#182d0c',
    950: '#000000',
  },
}
SCSS
$custom: #182d0c;
$custom-light: #56664c;
$custom-dark: #000000;
JSON
{
  "hex": "#182d0c",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 98.182,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2704,
    "c": 0.06134,
    "h": 135.8
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#182D0C
secondary
#532C69
accent
#47E1A9
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #182D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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