#283A05#283A05

#283A05 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.078 H 127.3°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#283A05
RGBrgb(40, 58, 5)
HSLhsl(80, 84%, 12%)
HSVhsv(80, 91%, 23%)
CMYKcmyk(31%, 0%, 91.4%, 77.3%)
CIE-LABlab(21.90, -16.36, 27.90)
CIE-LCHlch(21.90, 32.34, 120.40°)
OKLaboklab(32.12% -0.0473 0.0621)
OKLCHoklch(32.12% 0.078 127.3)
XYZxyz(2.4155, 3.4881, 0.6896)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A05 #17053A
analogous
#3A3105 #283A05 #0E3A05
triadic
#283A05 #05283A #3A0528
tetradic
#283A05 #053A31 #17053A #3A050E
square
#283A05 #053A31 #17053A #3A050E
split-complementary
#283A05 #050E3A #31053A
monochromatic
#131C02 #131C02 #283A05 #4F720A #76AB0F

Accessibility & contrast

On white

12.37
#283A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#283A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A05
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A05#FFFFFF#000000##FFFFFF
##283A051.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#2A3730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283a05;
/* rgb */ color: rgb(40, 58, 5);
/* oklch */ color: oklch(32.1% 0.078 127.3);
Tailwind
colors: {
  custom: {
    50: '#64704a',
    500: '#283a05',
    950: '#000000',
  },
}
SCSS
$custom: #283a05;
$custom-light: #64704a;
$custom-dark: #000000;
JSON
{
  "hex": "#283a05",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 80.377,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32121,
    "c": 0.07805,
    "h": 127.3
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#283A05
secondary
#3F207B
accent
#2DFA73
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283A05

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

Preview Lab → · Contrast checker → · Palette generator →

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