#283602#283602

#283602 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.9% C 0.075 H 124.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#283602
RGBrgb(40, 54, 2)
HSLhsl(76, 93%, 11%)
HSVhsv(76, 96%, 21%)
CMYKcmyk(25.9%, 0%, 96.3%, 78.8%)
CIE-LABlab(20.42, -14.36, 27.50)
CIE-LCHlch(20.42, 31.02, 117.57°)
OKLaboklab(30.91% -0.0422 0.0618)
OKLCHoklch(30.91% 0.075 124.3)
XYZxyz(2.2052, 3.0938, 0.5384)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283602 #100236
analogous
#362A02 #283602 #0E3602
triadic
#283602 #022836 #360228
tetradic
#283602 #02362A #100236 #36020E
square
#283602 #02362A #100236 #36020E
split-complementary
#283602 #020E36 #2A0236
monochromatic
#161E01 #161E01 #283602 #547104 #7FAC06

Accessibility & contrast

On white

12.97
#283602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283602
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283602#FFFFFF#000000##FFFFFF
##2836021.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#383106
Tritanopia (blue-blind)
#2B332D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #283602;
/* rgb */ color: rgb(40, 54, 2);
/* oklch */ color: oklch(30.9% 0.075 124.3);
Tailwind
colors: {
  custom: {
    50: '#646d48',
    500: '#283602',
    950: '#000000',
  },
}
SCSS
$custom: #283602;
$custom-light: #646d48;
$custom-dark: #000000;
JSON
{
  "hex": "#283602",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 2
  },
  "hsl": {
    "h": 76.154,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30908,
    "c": 0.07489,
    "h": 124.3
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#283602
secondary
#341A7A
accent
#29FF62
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283602

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

Preview Lab → · Contrast checker → · Palette generator →

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