#283C08#283C08

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

Color values

HEX#283C08
RGBrgb(40, 60, 8)
HSLhsl(83, 76%, 13%)
HSVhsv(83, 87%, 24%)
CMYKcmyk(33.3%, 0%, 86.7%, 76.5%)
CIE-LABlab(22.65, -17.23, 27.47)
CIE-LCHlch(22.65, 32.43, 122.10°)
OKLaboklab(32.74% -0.0493 0.0613)
OKLCHoklch(32.74% 0.079 128.8)
XYZxyz(2.5348, 3.7003, 0.8104)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C08 #1C083C
analogous
#3C3608 #283C08 #0E3C08
triadic
#283C08 #08283C #3C0828
tetradic
#283C08 #083C36 #1C083C #3C080E
square
#283C08 #083C36 #1C083C #3C080E
split-complementary
#283C08 #080E3C #36083C
monochromatic
#121B04 #121B04 #283C08 #4C720F #70A816

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283C08#FFFFFF#000000##FFFFFF
##283C081.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)
#3F3701
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#2A3932
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283c08;
/* rgb */ color: rgb(40, 60, 8);
/* oklch */ color: oklch(32.7% 0.079 128.8);
Tailwind
colors: {
  custom: {
    50: '#64714c',
    500: '#283c08',
    950: '#000000',
  },
}
SCSS
$custom: #283c08;
$custom-light: #64714c;
$custom-dark: #000000;
JSON
{
  "hex": "#283c08",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 83.077,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.07865,
    "h": 128.8
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#283C08
secondary
#46257B
accent
#35F37E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283C08

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

Preview Lab → · Contrast checker → · Palette generator →

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