#283403#283403

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

Color values

HEX#283403
RGBrgb(40, 52, 3)
HSLhsl(75, 89%, 11%)
HSVhsv(75, 94%, 20%)
CMYKcmyk(23.1%, 0%, 94.2%, 79.6%)
CIE-LABlab(19.69, -13.12, 26.28)
CIE-LCHlch(19.69, 29.37, 116.54°)
OKLaboklab(30.33% -0.0387 0.0596)
OKLCHoklch(30.33% 0.071 123)
XYZxyz(2.1195, 2.9137, 0.5369)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283403 #0F0334
analogous
#342703 #283403 #0F3403
triadic
#283403 #032834 #340328
tetradic
#283403 #033427 #0F0334 #34030F
square
#283403 #033427 #0F0334 #34030F
split-complementary
#283403 #030F34 #270334
monochromatic
#161D02 #161D02 #283403 #556E06 #81A80A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283403#FFFFFF#000000##FFFFFF
##2834031.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)
#363007
Tritanopia (blue-blind)
#2B312B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #283403;
/* rgb */ color: rgb(40, 52, 3);
/* oklch */ color: oklch(30.3% 0.071 123.0);
Tailwind
colors: {
  custom: {
    50: '#646b49',
    500: '#283403',
    950: '#000000',
  },
}
SCSS
$custom: #283403;
$custom-light: #646b49;
$custom-dark: #000000;
JSON
{
  "hex": "#283403",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 3
  },
  "hsl": {
    "h": 74.694,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30327,
    "c": 0.07112,
    "h": 123
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#283403
secondary
#321C77
accent
#29FF5D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283403

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

Preview Lab → · Contrast checker → · Palette generator →

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