#283304#283304

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

Color values

HEX#283304
RGBrgb(40, 51, 4)
HSLhsl(74, 85%, 11%)
HSVhsv(74, 92%, 20%)
CMYKcmyk(21.6%, 0%, 92.2%, 80%)
CIE-LABlab(19.34, -12.45, 25.46)
CIE-LCHlch(19.34, 28.34, 116.06°)
OKLaboklab(30.04% -0.0368 0.0581)
OKLCHoklch(30.04% 0.069 122.3)
XYZxyz(2.0808, 2.8275, 0.5510)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283304 #0F0433
analogous
#332604 #283304 #103304
triadic
#283304 #042833 #330428
tetradic
#283304 #043326 #0F0433 #330410
square
#283304 #043326 #0F0433 #330410
split-complementary
#283304 #041033 #260433
monochromatic
#161C02 #161C02 #283304 #556C08 #81A40D

Accessibility & contrast

On white

13.41
#283304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283304
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283304#FFFFFF#000000##FFFFFF
##2833041.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283304;
/* rgb */ color: rgb(40, 51, 4);
/* oklch */ color: oklch(30.0% 0.069 122.3);
Tailwind
colors: {
  custom: {
    50: '#646a49',
    500: '#283304',
    950: '#000000',
  },
}
SCSS
$custom: #283304;
$custom-light: #646a49;
$custom-dark: #000000;
JSON
{
  "hex": "#283304",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 74.043,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30042,
    "c": 0.06873,
    "h": 122.3
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#283304
secondary
#321D75
accent
#2CFC5D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283304

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

Preview Lab → · Contrast checker → · Palette generator →

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