#283401#283401

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

Color values

HEX#283401
RGBrgb(40, 52, 1)
HSLhsl(74, 96%, 10%)
HSVhsv(74, 98%, 20%)
CMYKcmyk(23.1%, 0%, 98.1%, 79.6%)
CIE-LABlab(19.68, -13.29, 27.07)
CIE-LCHlch(19.68, 30.16, 116.14°)
OKLaboklab(30.31% -0.0395 0.0614)
OKLCHoklch(30.31% 0.073 122.7)
XYZxyz(2.1086, 2.9093, 0.4792)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283401 #0D0134
analogous
#342601 #283401 #0E3401
triadic
#283401 #012834 #340128
tetradic
#283401 #013426 #0D0134 #34010E
square
#283401 #013426 #0D0134 #34010E
split-complementary
#283401 #010E34 #260134
monochromatic
#171E01 #171E01 #283401 #567002 #84AC03

Accessibility & contrast

On white

13.28
#283401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283401
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283401#FFFFFF#000000##FFFFFF
##2834011.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283401;
/* rgb */ color: rgb(40, 52, 1);
/* oklch */ color: oklch(30.3% 0.073 122.7);
Tailwind
colors: {
  custom: {
    50: '#646b48',
    500: '#283401',
    950: '#000000',
  },
}
SCSS
$custom: #283401;
$custom-light: #646b48;
$custom-dark: #000000;
JSON
{
  "hex": "#283401",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 1
  },
  "hsl": {
    "h": 74.118,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30306,
    "c": 0.07303,
    "h": 122.7
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#283401
secondary
#2F1879
accent
#29FF5B
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #283401

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

Preview Lab → · Contrast checker → · Palette generator →

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