#283708#283708

#283708 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.3% C 0.071 H 125.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#283708
RGBrgb(40, 55, 8)
HSLhsl(79, 75%, 12%)
HSVhsv(79, 85%, 22%)
CMYKcmyk(27.3%, 0%, 85.5%, 78.4%)
CIE-LABlab(20.83, -14.45, 25.52)
CIE-LCHlch(20.83, 29.32, 119.52°)
OKLaboklab(31.26% -0.0417 0.0576)
OKLCHoklch(31.26% 0.071 125.9)
XYZxyz(2.2851, 3.2010, 0.7271)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283708 #170837
analogous
#372F08 #283708 #113708
triadic
#283708 #082837 #370828
tetradic
#283708 #08372F #170837 #370811
square
#283708 #08372F #170837 #370811
split-complementary
#283708 #081137 #2F0837
monochromatic
#131B04 #131B04 #283708 #4F6C10 #76A218

Accessibility & contrast

On white

12.80
#283708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#283708 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283708
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283708#FFFFFF#000000##FFFFFF
##2837081.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3302
Deuteranopia (green-blind)
#38320C
Tritanopia (blue-blind)
#2A342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #283708;
/* rgb */ color: rgb(40, 55, 8);
/* oklch */ color: oklch(31.3% 0.071 125.9);
Tailwind
colors: {
  custom: {
    50: '#646d4b',
    500: '#283708',
    950: '#000000',
  },
}
SCSS
$custom: #283708;
$custom-light: #646d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#283708",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 8
  },
  "hsl": {
    "h": 79.149,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31261,
    "c": 0.07111,
    "h": 125.9
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#283708
secondary
#3F2576
accent
#37F172
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283708

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

Preview Lab → · Contrast checker → · Palette generator →

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