#283C06#283C06

#283C06 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.080 H 128.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#283C06
RGBrgb(40, 60, 6)
HSLhsl(82, 82%, 13%)
HSVhsv(82, 90%, 24%)
CMYKcmyk(33.3%, 0%, 90%, 76.5%)
CIE-LABlab(22.64, -17.38, 28.27)
CIE-LCHlch(22.64, 33.18, 121.59°)
OKLaboklab(32.72% -0.0499 0.0628)
OKLCHoklch(32.72% 0.08 128.5)
XYZxyz(2.5238, 3.6959, 0.7527)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C06 #1A063C
analogous
#3C3506 #283C06 #0D3C06
triadic
#283C06 #06283C #3C0628
tetradic
#283C06 #063C35 #1A063C #3C060D
square
#283C06 #063C35 #1A063C #3C060D
split-complementary
#283C06 #060D3C #35063C
monochromatic
#131C03 #131C03 #283C06 #4D740C #72AB11

Accessibility & contrast

On white

12.07
#283C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#283C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C06
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C06#FFFFFF#000000##FFFFFF
##283C061.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#2A3932
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283c06;
/* rgb */ color: rgb(40, 60, 6);
/* oklch */ color: oklch(32.7% 0.080 128.5);
Tailwind
colors: {
  custom: {
    50: '#64714b',
    500: '#283c06',
    950: '#000000',
  },
}
SCSS
$custom: #283c06;
$custom-light: #64714b;
$custom-dark: #000000;
JSON
{
  "hex": "#283c06",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 82.222,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32724,
    "c": 0.08018,
    "h": 128.5
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#283C06
secondary
#43227C
accent
#30F87A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283C06

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

Preview Lab → · Contrast checker → · Palette generator →

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