#283A0D#283A0D

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

Color values

HEX#283A0D
RGBrgb(40, 58, 13)
HSLhsl(84, 63%, 14%)
HSVhsv(84, 78%, 23%)
CMYKcmyk(31%, 0%, 77.6%, 77.3%)
CIE-LABlab(21.97, -15.73, 24.60)
CIE-LCHlch(21.97, 29.20, 122.60°)
OKLaboklab(32.2% -0.0447 0.056)
OKLCHoklch(32.2% 0.072 128.6)
XYZxyz(2.4608, 3.5062, 0.9278)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A0D #1F0D3A
analogous
#3A360D #283A0D #123A0D
triadic
#283A0D #0D283A #3A0D28
tetradic
#283A0D #0D3A36 #1F0D3A #3A0D12
square
#283A0D #0D3A36 #1F0D3A #3A0D12
split-complementary
#283A0D #0D123A #360D3A
monochromatic
#111906 #111906 #283A0D #4A6C18 #6D9E23

Accessibility & contrast

On white

12.34
#283A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A0D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A0D#FFFFFF#000000##FFFFFF
##283A0D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283a0d;
/* rgb */ color: rgb(40, 58, 13);
/* oklch */ color: oklch(32.2% 0.072 128.6);
Tailwind
colors: {
  custom: {
    50: '#64704e',
    500: '#283a0d',
    950: '#000000',
  },
}
SCSS
$custom: #283a0d;
$custom-light: #64704e;
$custom-dark: #000000;
JSON
{
  "hex": "#283a0d",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 84,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.07162,
    "h": 128.6
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#283A0D
secondary
#4A2D76
accent
#41E683
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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