#283A11#283A11

#283A11 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.068 H 129.6°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#283A11
RGBrgb(40, 58, 17)
HSLhsl(86, 55%, 15%)
HSVhsv(86, 71%, 23%)
CMYKcmyk(31%, 0%, 70.7%, 77.3%)
CIE-LABlab(22.01, -15.34, 22.59)
CIE-LCHlch(22.01, 27.30, 124.19°)
OKLaboklab(32.24% -0.0432 0.0523)
OKLCHoklch(32.24% 0.068 129.6)
XYZxyz(2.4893, 3.5176, 1.0780)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A11 #23113A
analogous
#3A3811 #283A11 #143A11
triadic
#283A11 #11283A #3A1128
tetradic
#283A11 #113A38 #23113A #3A1114
square
#283A11 #113A38 #23113A #3A1114
split-complementary
#283A11 #11143A #38113A
monochromatic
#101807 #101807 #283A11 #49691F #69992D

Accessibility & contrast

On white

12.33
#283A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A11
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A11#FFFFFF#000000##FFFFFF
##283A111.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360C
Deuteranopia (green-blind)
#3A3414
Tritanopia (blue-blind)
#293731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a11;
/* rgb */ color: rgb(40, 58, 17);
/* oklch */ color: oklch(32.2% 0.068 129.6);
Tailwind
colors: {
  custom: {
    50: '#637051',
    500: '#283a11',
    950: '#000000',
  },
}
SCSS
$custom: #283a11;
$custom-light: #637051;
$custom-dark: #000000;
JSON
{
  "hex": "#283a11",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 17
  },
  "hsl": {
    "h": 86.341,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32242,
    "c": 0.06783,
    "h": 129.6
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#283A11
secondary
#503373
accent
#4ADE8B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283A11

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

Preview Lab → · Contrast checker → · Palette generator →

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