#284E07#284E07

#284E07 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.105 H 134.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#284E07
RGBrgb(40, 78, 7)
HSLhsl(92, 84%, 17%)
HSVhsv(92, 91%, 31%)
CMYKcmyk(48.7%, 0%, 91%, 69.4%)
CIE-LABlab(29.20, -26.31, 34.03)
CIE-LCHlch(29.20, 43.02, 127.71°)
OKLaboklab(38.09% -0.0739 0.0746)
OKLCHoklch(38.09% 0.105 134.7)
XYZxyz(3.6377, 5.9150, 1.1510)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E07 #2D074E
analogous
#4C4E07 #284E07 #074E0A
triadic
#284E07 #07284E #4E0728
tetradic
#284E07 #074C4E #2D074E #4E0A07
square
#284E07 #074C4E #2D074E #4E0A07
split-complementary
#284E07 #0A074E #4E074C
monochromatic
#0E1C03 #0E1C03 #284E07 #45860C #62BE11

Accessibility & contrast

On white

9.62
#284E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#284E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E07
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E07#FFFFFF#000000##FFFFFF
##284E071.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4C4410
Tritanopia (blue-blind)
#274B41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284e07;
/* rgb */ color: rgb(40, 78, 7);
/* oklch */ color: oklch(38.1% 0.105 134.7);
Tailwind
colors: {
  custom: {
    50: '#67804f',
    500: '#284e07',
    950: '#000000',
  },
}
SCSS
$custom: #284e07;
$custom-light: #67804f;
$custom-dark: #000000;
JSON
{
  "hex": "#284e07",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 92.113,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38088,
    "c": 0.10499,
    "h": 134.7
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#284E07
secondary
#5C258C
accent
#2EFA9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284E07

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

Preview Lab → · Contrast checker → · Palette generator →

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