#284B15#284B15

#284B15 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.091 H 136.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#284B15
RGBrgb(40, 75, 21)
HSLhsl(99, 56%, 19%)
HSVhsv(99, 72%, 29%)
CMYKcmyk(46.7%, 0%, 72%, 70.6%)
CIE-LABlab(28.21, -23.81, 27.32)
CIE-LCHlch(28.21, 36.24, 131.07°)
OKLaboklab(37.31% -0.066 0.0629)
OKLCHoklch(37.31% 0.091 136.4)
XYZxyz(3.5264, 5.5372, 1.5923)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B15 #38154B
analogous
#434B15 #284B15 #154B1D
triadic
#284B15 #15284B #4B1528
tetradic
#284B15 #15434B #38154B #4B1D15
square
#284B15 #15434B #38154B #4B1D15
split-complementary
#284B15 #1D154B #4B1543
monochromatic
#0D1807 #0F1B08 #284B15 #427B22 #5BAB30

Accessibility & contrast

On white

9.96
#284B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#284B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B15
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B15#FFFFFF#000000##FFFFFF
##284B151.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440E
Deuteranopia (green-blind)
#49411A
Tritanopia (blue-blind)
#274840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #284b15;
/* rgb */ color: rgb(40, 75, 21);
/* oklch */ color: oklch(37.3% 0.091 136.4);
Tailwind
colors: {
  custom: {
    50: '#657d55',
    500: '#284b15',
    950: '#000000',
  },
}
SCSS
$custom: #284b15;
$custom-light: #657d55;
$custom-dark: #000000;
JSON
{
  "hex": "#284b15",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 98.889,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.09117,
    "h": 136.4
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#284B15
secondary
#693983
accent
#48E0AA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284B15

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

Preview Lab → · Contrast checker → · Palette generator →

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