#283608#283608

#283608 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.0% C 0.070 H 125.2°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#283608
RGBrgb(40, 54, 8)
HSLhsl(78, 74%, 12%)
HSVhsv(78, 85%, 21%)
CMYKcmyk(25.9%, 0%, 85.2%, 78.8%)
CIE-LABlab(20.47, -13.87, 25.11)
CIE-LCHlch(20.47, 28.69, 118.92°)
OKLaboklab(30.97% -0.0401 0.0568)
OKLCHoklch(30.97% 0.07 125.2)
XYZxyz(2.2381, 3.1070, 0.7115)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283608 #160836
analogous
#362D08 #283608 #113608
triadic
#283608 #082836 #360828
tetradic
#283608 #08362D #160836 #360811
square
#283608 #08362D #160836 #360811
split-complementary
#283608 #081136 #2D0836
monochromatic
#141B04 #141B04 #283608 #4F6B10 #77A118

Accessibility & contrast

On white

12.95
#283608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#283608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283608
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283608#FFFFFF#000000##FFFFFF
##2836081.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393202
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#2A332D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #283608;
/* rgb */ color: rgb(40, 54, 8);
/* oklch */ color: oklch(31.0% 0.070 125.2);
Tailwind
colors: {
  custom: {
    50: '#646d4b',
    500: '#283608',
    950: '#000000',
  },
}
SCSS
$custom: #283608;
$custom-light: #646d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#283608",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 8
  },
  "hsl": {
    "h": 78.261,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30966,
    "c": 0.06958,
    "h": 125.2
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#283608
secondary
#3D2575
accent
#37F170
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283608

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

Preview Lab → · Contrast checker → · Palette generator →

#283608 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva