#284B10#284B10

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

Color values

HEX#284B10
RGBrgb(40, 75, 16)
HSLhsl(96, 65%, 18%)
HSVhsv(96, 79%, 29%)
CMYKcmyk(46.7%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.17, -24.28, 29.61)
CIE-LCHlch(28.17, 38.29, 129.35°)
OKLaboklab(37.26% -0.0677 0.0669)
OKLCHoklch(37.26% 0.095 135.3)
XYZxyz(3.4846, 5.5205, 1.3721)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B10 #33104B
analogous
#454B10 #284B10 #104B15
triadic
#284B10 #10284B #4B1028
tetradic
#284B10 #10454B #33104B #4B1510
square
#284B10 #10454B #33104B #4B1510
split-complementary
#284B10 #15104B #4B1045
monochromatic
#0D1905 #0D1905 #284B10 #437D1B #5EB026

Accessibility & contrast

On white

9.98
#284B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284B10
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B10#FFFFFF#000000##FFFFFF
##284B101.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4407
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#27483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284b10;
/* rgb */ color: rgb(40, 75, 16);
/* oklch */ color: oklch(37.3% 0.095 135.3);
Tailwind
colors: {
  custom: {
    50: '#667d52',
    500: '#284b10',
    950: '#000000',
  },
}
SCSS
$custom: #284b10;
$custom-light: #667d52;
$custom-dark: #000000;
JSON
{
  "hex": "#284b10",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 95.593,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37263,
    "c": 0.0952,
    "h": 135.3
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#284B10
secondary
#633285
accent
#40E8A4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284B10

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

Preview Lab → · Contrast checker → · Palette generator →

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