#283A10#283A10

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

Color values

HEX#283A10
RGBrgb(40, 58, 16)
HSLhsl(86, 57%, 15%)
HSVhsv(86, 72%, 23%)
CMYKcmyk(31%, 0%, 72.4%, 77.3%)
CIE-LABlab(22.00, -15.45, 23.11)
CIE-LCHlch(22.00, 27.80, 123.76°)
OKLaboklab(32.23% -0.0436 0.0533)
OKLCHoklch(32.23% 0.069 129.3)
XYZxyz(2.4816, 3.5146, 1.0377)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A10 #22103A
analogous
#3A3710 #283A10 #133A10
triadic
#283A10 #10283A #3A1028
tetradic
#283A10 #103A37 #22103A #3A1013
square
#283A10 #103A37 #22103A #3A1013
split-complementary
#283A10 #10133A #37103A
monochromatic
#111807 #111807 #283A10 #496A1D #6A9A2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283A10#FFFFFF#000000##FFFFFF
##283A101.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)
#3D350B
Deuteranopia (green-blind)
#3B3413
Tritanopia (blue-blind)
#293731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a10;
/* rgb */ color: rgb(40, 58, 16);
/* oklch */ color: oklch(32.2% 0.069 129.3);
Tailwind
colors: {
  custom: {
    50: '#647050',
    500: '#283a10',
    950: '#000000',
  },
}
SCSS
$custom: #283a10;
$custom-light: #647050;
$custom-dark: #000000;
JSON
{
  "hex": "#283a10",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 16
  },
  "hsl": {
    "h": 85.714,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3223,
    "c": 0.06882,
    "h": 129.3
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#283A10
secondary
#4E3274
accent
#48E089
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283A10

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

Preview Lab → · Contrast checker → · Palette generator →

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