#284811#284811

#284811 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.090 H 134.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#284811
RGBrgb(40, 72, 17)
HSLhsl(95, 62%, 17%)
HSVhsv(95, 76%, 28%)
CMYKcmyk(44.4%, 0%, 76.4%, 71.8%)
CIE-LABlab(27.09, -22.73, 28.05)
CIE-LCHlch(27.09, 36.10, 129.02°)
OKLaboklab(36.38% -0.0634 0.0638)
OKLCHoklch(36.38% 0.09 134.8)
XYZxyz(3.2935, 5.1261, 1.3461)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284811 #311148
analogous
#444811 #284811 #114815
triadic
#284811 #112848 #481128
tetradic
#284811 #114448 #311148 #481511
square
#284811 #114448 #311148 #481511
split-complementary
#284811 #151148 #481144
monochromatic
#0E1906 #0E1906 #284811 #447A1D #5FAB28

Accessibility & contrast

On white

10.37
#284811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#284811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284811
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284811#FFFFFF#000000##FFFFFF
##2848111.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4209
Deuteranopia (green-blind)
#473F16
Tritanopia (blue-blind)
#27453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #284811;
/* rgb */ color: rgb(40, 72, 17);
/* oklch */ color: oklch(36.4% 0.090 134.8);
Tailwind
colors: {
  custom: {
    50: '#657b52',
    500: '#284811',
    950: '#000000',
  },
}
SCSS
$custom: #284811;
$custom-light: #657b52;
$custom-dark: #000000;
JSON
{
  "hex": "#284811",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 94.909,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36383,
    "c": 0.08997,
    "h": 134.8
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#284811
secondary
#613382
accent
#43E5A1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284811

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

Preview Lab → · Contrast checker → · Palette generator →

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