#283402#283402

#283402 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.072 H 122.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#283402
RGBrgb(40, 52, 2)
HSLhsl(74, 93%, 11%)
HSVhsv(74, 96%, 20%)
CMYKcmyk(23.1%, 0%, 96.2%, 79.6%)
CIE-LABlab(19.69, -13.20, 26.68)
CIE-LCHlch(19.69, 29.76, 116.33°)
OKLaboklab(30.32% -0.0391 0.0605)
OKLCHoklch(30.32% 0.072 122.9)
XYZxyz(2.1141, 2.9115, 0.5080)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283402 #0E0234
analogous
#342702 #283402 #0F3402
triadic
#283402 #022834 #340228
tetradic
#283402 #023427 #0E0234 #34020F
square
#283402 #023427 #0E0234 #34020F
split-complementary
#283402 #020F34 #270234
monochromatic
#171D01 #171D01 #283402 #556F04 #83AA07

Accessibility & contrast

On white

13.27
#283402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#283402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283402
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283402#FFFFFF#000000##FFFFFF
##2834021.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#363006
Tritanopia (blue-blind)
#2B312B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #283402;
/* rgb */ color: rgb(40, 52, 2);
/* oklch */ color: oklch(30.3% 0.072 122.9);
Tailwind
colors: {
  custom: {
    50: '#646b48',
    500: '#283402',
    950: '#000000',
  },
}
SCSS
$custom: #283402;
$custom-light: #646b48;
$custom-dark: #000000;
JSON
{
  "hex": "#283402",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 74.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30317,
    "c": 0.07206,
    "h": 122.9
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#283402
secondary
#301A78
accent
#29FF5C
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #283402

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

Preview Lab → · Contrast checker → · Palette generator →

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