#284A14#284A14

#284A14 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.090 H 135.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#284A14
RGBrgb(40, 74, 20)
HSLhsl(98, 57%, 18%)
HSVhsv(98, 73%, 29%)
CMYKcmyk(45.9%, 0%, 73%, 71%)
CIE-LABlab(27.84, -23.43, 27.41)
CIE-LCHlch(27.84, 36.06, 130.52°)
OKLaboklab(37.01% -0.065 0.0629)
OKLCHoklch(37.01% 0.091 135.9)
XYZxyz(3.4500, 5.3990, 1.5220)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A14 #36144A
analogous
#434A14 #284A14 #144A1B
triadic
#284A14 #14284A #4A1428
tetradic
#284A14 #14434A #36144A #4A1B14
square
#284A14 #14434A #36144A #4A1B14
split-complementary
#284A14 #1B144A #4A1443
monochromatic
#0D1807 #0E1A07 #284A14 #427A21 #5CAA2E

Accessibility & contrast

On white

10.10
#284A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#284A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A14
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A14#FFFFFF#000000##FFFFFF
##284A141.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440D
Deuteranopia (green-blind)
#484119
Tritanopia (blue-blind)
#27473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284a14;
/* rgb */ color: rgb(40, 74, 20);
/* oklch */ color: oklch(37.0% 0.090 135.9);
Tailwind
colors: {
  custom: {
    50: '#657d54',
    500: '#284a14',
    950: '#000000',
  },
}
SCSS
$custom: #284a14;
$custom-light: #657d54;
$custom-dark: #000000;
JSON
{
  "hex": "#284a14",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 97.778,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37007,
    "c": 0.0905,
    "h": 135.9
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#284A14
secondary
#673882
accent
#47E1A8
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #284A14

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

Preview Lab → · Contrast checker → · Palette generator →

#284A14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva