#284E10#284E10

#284E10 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.100 H 136.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#284E10
RGBrgb(40, 78, 16)
HSLhsl(97, 66%, 18%)
HSVhsv(97, 79%, 31%)
CMYKcmyk(48.7%, 0%, 79.5%, 69.4%)
CIE-LABlab(29.25, -25.71, 30.71)
CIE-LCHlch(29.25, 40.05, 129.93°)
OKLaboklab(38.15% -0.0716 0.0692)
OKLCHoklch(38.15% 0.1 136)
XYZxyz(3.6929, 5.9371, 1.4415)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E10 #36104E
analogous
#474E10 #284E10 #104E17
triadic
#284E10 #10284E #4E1028
tetradic
#284E10 #10474E #36104E #4E1710
square
#284E10 #10474E #36104E #4E1710
split-complementary
#284E10 #17104E #4E1047
monochromatic
#0D1905 #0E1B06 #284E10 #42811A #5CB425

Accessibility & contrast

On white

9.60
#284E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#284E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E10
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E10#FFFFFF#000000##FFFFFF
##284E101.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514706
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#274B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284e10;
/* rgb */ color: rgb(40, 78, 16);
/* oklch */ color: oklch(38.2% 0.100 136.0);
Tailwind
colors: {
  custom: {
    50: '#668053',
    500: '#284e10',
    950: '#000000',
  },
}
SCSS
$custom: #284e10;
$custom-light: #668053;
$custom-dark: #000000;
JSON
{
  "hex": "#284e10",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 96.774,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.09957,
    "h": 136
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#284E10
secondary
#673288
accent
#3FE9A7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284E10

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

Preview Lab → · Contrast checker → · Palette generator →

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