#284E03#284E03

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

Color values

HEX#284E03
RGBrgb(40, 78, 3)
HSLhsl(90, 93%, 16%)
HSVhsv(90, 96%, 31%)
CMYKcmyk(48.7%, 0%, 96.2%, 69.4%)
CIE-LABlab(29.17, -26.56, 35.51)
CIE-LCHlch(29.17, 44.35, 126.79°)
OKLaboklab(38.06% -0.0748 0.0768)
OKLCHoklch(38.06% 0.107 134.2)
XYZxyz(3.6158, 5.9063, 1.0356)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E03 #29034E
analogous
#4D4E03 #284E03 #034E03
triadic
#284E03 #03284E #4E0328
tetradic
#284E03 #034D4E #29034E #4E0303
square
#284E03 #034D4E #29034E #4E0303
split-complementary
#284E03 #03034E #4E034D
monochromatic
#0F1D01 #0F1D01 #284E03 #468905 #64C408

Accessibility & contrast

On white

9.63
#284E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284E03
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E03#FFFFFF#000000##FFFFFF
##284E031.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284e03;
/* rgb */ color: rgb(40, 78, 3);
/* oklch */ color: oklch(38.1% 0.107 134.2);
Tailwind
colors: {
  custom: {
    50: '#67804d',
    500: '#284e03',
    950: '#000000',
  },
}
SCSS
$custom: #284e03;
$custom-light: #67804d;
$custom-dark: #000000;
JSON
{
  "hex": "#284e03",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 90.4,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38062,
    "c": 0.10724,
    "h": 134.2
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#284E03
secondary
#571E8E
accent
#29FF95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A01
muted
#7A7C77

Preview Lab

Preview with #284E03

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

Preview Lab → · Contrast checker → · Palette generator →

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