#283408#283408

#283408 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.067 H 123.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#283408
RGBrgb(40, 52, 8)
HSLhsl(76, 73%, 12%)
HSVhsv(76, 85%, 20%)
CMYKcmyk(23.1%, 0%, 84.6%, 79.6%)
CIE-LABlab(19.74, -12.71, 24.29)
CIE-LCHlch(19.74, 27.42, 117.62°)
OKLaboklab(30.38% -0.0369 0.0553)
OKLCHoklch(30.38% 0.067 123.7)
XYZxyz(2.1469, 2.9246, 0.6811)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283408 #140834
analogous
#342A08 #283408 #123408
triadic
#283408 #082834 #340828
tetradic
#283408 #08342A #140834 #340812
square
#283408 #08342A #140834 #340812
split-complementary
#283408 #081234 #2A0834
monochromatic
#141B04 #141B04 #283408 #516910 #7A9E18

Accessibility & contrast

On white

13.25
#283408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#283408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283408
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283408#FFFFFF#000000##FFFFFF
##2834081.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383003
Deuteranopia (green-blind)
#36300C
Tritanopia (blue-blind)
#2A312B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #283408;
/* rgb */ color: rgb(40, 52, 8);
/* oklch */ color: oklch(30.4% 0.067 123.7);
Tailwind
colors: {
  custom: {
    50: '#636b4b',
    500: '#283408',
    950: '#000000',
  },
}
SCSS
$custom: #283408;
$custom-light: #636b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#283408",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 8
  },
  "hsl": {
    "h": 76.364,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30377,
    "c": 0.06654,
    "h": 123.7
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#283408
secondary
#3A2573
accent
#38F06A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283408

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

Preview Lab → · Contrast checker → · Palette generator →

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