#283104#283104

#283104 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.066 H 120.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#283104
RGBrgb(40, 49, 4)
HSLhsl(72, 85%, 10%)
HSVhsv(72, 92%, 19%)
CMYKcmyk(18.4%, 0%, 91.8%, 80.8%)
CIE-LABlab(18.61, -11.26, 24.62)
CIE-LCHlch(18.61, 27.07, 114.58°)
OKLaboklab(29.46% -0.0335 0.0567)
OKLCHoklch(29.46% 0.066 120.6)
XYZxyz(1.9953, 2.6565, 0.5225)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283104 #0D0431
analogous
#312304 #283104 #113104
triadic
#283104 #042831 #310428
tetradic
#283104 #043123 #0D0431 #310411
square
#283104 #043123 #0D0431 #310411
split-complementary
#283104 #041131 #230431
monochromatic
#171C02 #171C02 #283104 #566A09 #84A20D

Accessibility & contrast

On white

13.71
#283104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#283104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283104
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283104#FFFFFF#000000##FFFFFF
##2831041.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#342D07
Tritanopia (blue-blind)
#2B2E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #283104;
/* rgb */ color: rgb(40, 49, 4);
/* oklch */ color: oklch(29.5% 0.066 120.6);
Tailwind
colors: {
  custom: {
    50: '#636949',
    500: '#283104',
    950: '#000000',
  },
}
SCSS
$custom: #283104;
$custom-light: #636949;
$custom-dark: #000000;
JSON
{
  "hex": "#283104",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 72,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29455,
    "c": 0.06585,
    "h": 120.6
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#283104
secondary
#2F1D73
accent
#2DFB56
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283104

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

Preview Lab → · Contrast checker → · Palette generator →

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