#283303#283303

#283303 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.070 H 122.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#283303
RGBrgb(40, 51, 3)
HSLhsl(74, 89%, 11%)
HSVhsv(74, 94%, 20%)
CMYKcmyk(21.6%, 0%, 94.1%, 80%)
CIE-LABlab(19.33, -12.53, 25.86)
CIE-LCHlch(19.33, 28.74, 115.86°)
OKLaboklab(30.03% -0.0371 0.059)
OKLCHoklch(30.03% 0.07 122.2)
XYZxyz(2.0754, 2.8253, 0.5221)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283303 #0E0333
analogous
#332603 #283303 #103303
triadic
#283303 #032833 #330328
tetradic
#283303 #033326 #0E0333 #330310
square
#283303 #033326 #0E0333 #330310
split-complementary
#283303 #031033 #260333
monochromatic
#171D02 #171D02 #283303 #556D06 #83A70A

Accessibility & contrast

On white

13.42
#283303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#283303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283303
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283303#FFFFFF#000000##FFFFFF
##2833031.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#352F07
Tritanopia (blue-blind)
#2B302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #283303;
/* rgb */ color: rgb(40, 51, 3);
/* oklch */ color: oklch(30.0% 0.070 122.2);
Tailwind
colors: {
  custom: {
    50: '#646a49',
    500: '#283303',
    950: '#000000',
  },
}
SCSS
$custom: #283303;
$custom-light: #646a49;
$custom-dark: #000000;
JSON
{
  "hex": "#283303",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 73.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30032,
    "c": 0.06969,
    "h": 122.2
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#283303
secondary
#301C76
accent
#29FF5A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283303

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

Preview Lab → · Contrast checker → · Palette generator →

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