#283A18#283A18

#283A18 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.060 H 132.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#283A18
RGBrgb(40, 58, 24)
HSLhsl(92, 41%, 16%)
HSVhsv(92, 59%, 23%)
CMYKcmyk(31%, 0%, 58.6%, 77.3%)
CIE-LABlab(22.10, -14.48, 18.69)
CIE-LCHlch(22.10, 23.64, 127.78°)
OKLaboklab(32.35% -0.0401 0.0447)
OKLCHoklch(32.35% 0.06 132)
XYZxyz(2.5530, 3.5431, 1.4134)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A18 #2A183A
analogous
#393A18 #283A18 #183A19
triadic
#283A18 #18283A #3A1828
tetradic
#283A18 #18393A #2A183A #3A1918
square
#283A18 #18393A #2A183A #3A1918
split-complementary
#283A18 #19183A #3A1839
monochromatic
#0F1609 #0F1609 #283A18 #46652A #64913C

Accessibility & contrast

On white

12.29
#283A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#283A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A18
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A18#FFFFFF#000000##FFFFFF
##283A181.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3615
Deuteranopia (green-blind)
#3A341A
Tritanopia (blue-blind)
#293832
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a18;
/* rgb */ color: rgb(40, 58, 24);
/* oklch */ color: oklch(32.3% 0.060 132.0);
Tailwind
colors: {
  custom: {
    50: '#637056',
    500: '#283a18',
    950: '#000000',
  },
}
SCSS
$custom: #283a18;
$custom-light: #637056;
$custom-dark: #000000;
JSON
{
  "hex": "#283a18",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 24
  },
  "hsl": {
    "h": 91.765,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32346,
    "c": 0.06005,
    "h": 132
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#283A18
secondary
#583E70
accent
#57D198
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050703
muted
#797A78

Preview Lab

Preview with #283A18

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

Preview Lab → · Contrast checker → · Palette generator →

#283A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva