#283A0A#283A0A

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

Color values

HEX#283A0A
RGBrgb(40, 58, 10)
HSLhsl(83, 71%, 13%)
HSVhsv(83, 83%, 23%)
CMYKcmyk(31%, 0%, 82.8%, 77.3%)
CIE-LABlab(21.94, -15.98, 25.90)
CIE-LCHlch(21.94, 30.44, 121.67°)
OKLaboklab(32.17% -0.0457 0.0583)
OKLCHoklch(32.17% 0.074 128.1)
XYZxyz(2.4429, 3.4991, 0.8338)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A0A #1C0A3A
analogous
#3A340A #283A0A #103A0A
triadic
#283A0A #0A283A #3A0A28
tetradic
#283A0A #0A3A34 #1C0A3A #3A0A10
square
#283A0A #0A3A34 #1C0A3A #3A0A10
split-complementary
#283A0A #0A103A #340A3A
monochromatic
#121A05 #121A05 #283A0A #4C6E13 #70A21C

Accessibility & contrast

On white

12.35
#283A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A0A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A0A#FFFFFF#000000##FFFFFF
##283A0A1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3504
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#2A3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a0a;
/* rgb */ color: rgb(40, 58, 10);
/* oklch */ color: oklch(32.2% 0.074 128.1);
Tailwind
colors: {
  custom: {
    50: '#64704d',
    500: '#283a0a',
    950: '#000000',
  },
}
SCSS
$custom: #283a0a;
$custom-light: #64704d;
$custom-dark: #000000;
JSON
{
  "hex": "#283a0a",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 82.5,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32166,
    "c": 0.07409,
    "h": 128.1
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#283A0A
secondary
#462877
accent
#3AED7E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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