#283E08#283E08

#283E08 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.082 H 129.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#283E08
RGBrgb(40, 62, 8)
HSLhsl(84, 77%, 14%)
HSVhsv(84, 87%, 24%)
CMYKcmyk(35.5%, 0%, 87.1%, 75.7%)
CIE-LABlab(23.38, -18.31, 28.22)
CIE-LCHlch(23.38, 33.64, 122.98°)
OKLaboklab(33.34% -0.0522 0.0627)
OKLCHoklch(33.34% 0.082 129.8)
XYZxyz(2.6415, 3.9138, 0.8459)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283E08 #1E083E
analogous
#3E3908 #283E08 #0D3E08
triadic
#283E08 #08283E #3E0828
tetradic
#283E08 #083E39 #1E083E #3E080D
square
#283E08 #083E39 #1E083E #3E080D
split-complementary
#283E08 #080D3E #39083E
monochromatic
#111B03 #111B03 #283E08 #4B740F #6EAA16

Accessibility & contrast

On white

11.78
#283E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#283E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283E08
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283E08#FFFFFF#000000##FFFFFF
##283E081.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413901
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#293B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283e08;
/* rgb */ color: rgb(40, 62, 8);
/* oklch */ color: oklch(33.3% 0.082 129.8);
Tailwind
colors: {
  custom: {
    50: '#64734c',
    500: '#283e08',
    950: '#000000',
  },
}
SCSS
$custom: #283e08;
$custom-light: #64734c;
$custom-dark: #000000;
JSON
{
  "hex": "#283e08",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 84.444,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33335,
    "c": 0.08163,
    "h": 129.8
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#283E08
secondary
#49257D
accent
#34F482
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283E08

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

Preview Lab → · Contrast checker → · Palette generator →

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