#283A0B#283A0B

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

Color values

HEX#283A0B
RGBrgb(40, 58, 11)
HSLhsl(83, 68%, 14%)
HSVhsv(83, 81%, 23%)
CMYKcmyk(31%, 0%, 81%, 77.3%)
CIE-LABlab(21.95, -15.90, 25.49)
CIE-LCHlch(21.95, 30.05, 121.96°)
OKLaboklab(32.17% -0.0454 0.0576)
OKLCHoklch(32.17% 0.073 128.2)
XYZxyz(2.4485, 3.5013, 0.8634)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A0B #1D0B3A
analogous
#3A340B #283A0B #103A0B
triadic
#283A0B #0B283A #3A0B28
tetradic
#283A0B #0B3A34 #1D0B3A #3A0B10
square
#283A0B #0B3A34 #1D0B3A #3A0B10
split-complementary
#283A0B #0B103A #340B3A
monochromatic
#121A05 #121A05 #283A0B #4B6D15 #6FA11F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283A0B#FFFFFF#000000##FFFFFF
##283A0B1.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)
#3D3505
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#2A3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a0b;
/* rgb */ color: rgb(40, 58, 11);
/* oklch */ color: oklch(32.2% 0.073 128.2);
Tailwind
colors: {
  custom: {
    50: '#64704d',
    500: '#283a0b',
    950: '#000000',
  },
}
SCSS
$custom: #283a0b;
$custom-light: #64704d;
$custom-dark: #000000;
JSON
{
  "hex": "#283a0b",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 82.979,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32175,
    "c": 0.07331,
    "h": 128.2
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#283A0B
secondary
#472A77
accent
#3DEB80
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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