#284B08#284B08

#284B08 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.100 H 134.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#284B08
RGBrgb(40, 75, 8)
HSLhsl(91, 81%, 16%)
HSVhsv(91, 89%, 29%)
CMYKcmyk(46.7%, 0%, 89.3%, 70.6%)
CIE-LABlab(28.12, -24.85, 32.69)
CIE-LCHlch(28.12, 41.06, 127.24°)
OKLaboklab(37.2% -0.0698 0.072)
OKLCHoklch(37.2% 0.1 134.1)
XYZxyz(3.4349, 5.5006, 1.1104)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B08 #2B084B
analogous
#4A4B08 #284B08 #084B09
triadic
#284B08 #08284B #4B0828
tetradic
#284B08 #084A4B #2B084B #4B0908
square
#284B08 #084A4B #2B084B #4B0908
split-complementary
#284B08 #09084B #4B084A
monochromatic
#0F1C03 #0F1C03 #284B08 #45820E #63BA14

Accessibility & contrast

On white

10.00
#284B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#284B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B08
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B08#FFFFFF#000000##FFFFFF
##284B081.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4A4110
Tritanopia (blue-blind)
#28483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284b08;
/* rgb */ color: rgb(40, 75, 8);
/* oklch */ color: oklch(37.2% 0.100 134.1);
Tailwind
colors: {
  custom: {
    50: '#667d4e',
    500: '#284b08',
    950: '#000000',
  },
}
SCSS
$custom: #284b08;
$custom-light: #667d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#284b08",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 8
  },
  "hsl": {
    "h": 91.343,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.1003,
    "h": 134.1
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#284B08
secondary
#5A2689
accent
#31F798
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284B08

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

Preview Lab → · Contrast checker → · Palette generator →

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