#283004#283004

#283004 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.2% C 0.064 H 119.6°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#283004
RGBrgb(40, 48, 4)
HSLhsl(71, 85%, 10%)
HSVhsv(71, 92%, 19%)
CMYKcmyk(16.7%, 0%, 91.7%, 81.2%)
CIE-LABlab(18.25, -10.65, 24.19)
CIE-LCHlch(18.25, 26.43, 113.77°)
OKLaboklab(29.16% -0.0319 0.056)
OKLCHoklch(29.16% 0.064 119.6)
XYZxyz(1.9540, 2.5738, 0.5087)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283004 #0C0430
analogous
#302204 #283004 #123004
triadic
#283004 #042830 #300428
tetradic
#283004 #043022 #0C0430 #300412
square
#283004 #043022 #0C0430 #300412
split-complementary
#283004 #041230 #220430
monochromatic
#181C02 #181C02 #283004 #576809 #86A10D

Accessibility & contrast

On white

13.86
#283004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#283004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283004
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283004#FFFFFF#000000##FFFFFF
##2830041.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283004;
/* rgb */ color: rgb(40, 48, 4);
/* oklch */ color: oklch(29.2% 0.064 119.6);
Tailwind
colors: {
  custom: {
    50: '#636849',
    500: '#283004',
    950: '#000000',
  },
}
SCSS
$custom: #283004;
$custom-light: #636849;
$custom-dark: #000000;
JSON
{
  "hex": "#283004",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 4
  },
  "hsl": {
    "h": 70.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29162,
    "c": 0.06442,
    "h": 119.6
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#283004
secondary
#2D1D72
accent
#2DFB52
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283004

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

Preview Lab → · Contrast checker → · Palette generator →

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