#283A0C#283A0C

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

Color values

HEX#283A0C
RGBrgb(40, 58, 12)
HSLhsl(83, 66%, 14%)
HSVhsv(83, 79%, 23%)
CMYKcmyk(31%, 0%, 79.3%, 77.3%)
CIE-LABlab(21.96, -15.82, 25.06)
CIE-LCHlch(21.96, 29.64, 122.26°)
OKLaboklab(32.19% -0.045 0.0568)
OKLCHoklch(32.19% 0.072 128.4)
XYZxyz(2.4545, 3.5037, 0.8947)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A0C #1E0C3A
analogous
#3A350C #283A0C #113A0C
triadic
#283A0C #0C283A #3A0C28
tetradic
#283A0C #0C3A35 #1E0C3A #3A0C11
square
#283A0C #0C3A35 #1E0C3A #3A0C11
split-complementary
#283A0C #0C113A #350C3A
monochromatic
#111905 #111905 #283A0C #4B6D16 #6E9F21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283A0C#FFFFFF#000000##FFFFFF
##283A0C1.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)
#3D3506
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#2A3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a0c;
/* rgb */ color: rgb(40, 58, 12);
/* oklch */ color: oklch(32.2% 0.072 128.4);
Tailwind
colors: {
  custom: {
    50: '#64704e',
    500: '#283a0c',
    950: '#000000',
  },
}
SCSS
$custom: #283a0c;
$custom-light: #64704e;
$custom-dark: #000000;
JSON
{
  "hex": "#283a0c",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 83.478,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32185,
    "c": 0.07247,
    "h": 128.4
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#283A0C
secondary
#492C76
accent
#3FE981
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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