#284810#284810

#284810 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.091 H 134.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#284810
RGBrgb(40, 72, 16)
HSLhsl(94, 64%, 17%)
HSVhsv(94, 78%, 28%)
CMYKcmyk(44.4%, 0%, 77.8%, 71.8%)
CIE-LABlab(27.08, -22.82, 28.50)
CIE-LCHlch(27.08, 36.51, 128.68°)
OKLaboklab(36.37% -0.0637 0.0646)
OKLCHoklch(36.37% 0.091 134.6)
XYZxyz(3.2859, 5.1231, 1.3058)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284810 #301048
analogous
#444810 #284810 #104814
triadic
#284810 #102848 #481028
tetradic
#284810 #104448 #301048 #481410
square
#284810 #104448 #301048 #481410
split-complementary
#284810 #141048 #481044
monochromatic
#0E1906 #0E1906 #284810 #447A1B #60AC26

Accessibility & contrast

On white

10.37
#284810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#284810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284810
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284810#FFFFFF#000000##FFFFFF
##2848101.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4207
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#27453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #284810;
/* rgb */ color: rgb(40, 72, 16);
/* oklch */ color: oklch(36.4% 0.091 134.6);
Tailwind
colors: {
  custom: {
    50: '#657b52',
    500: '#284810',
    950: '#000000',
  },
}
SCSS
$custom: #284810;
$custom-light: #657b52;
$custom-dark: #000000;
JSON
{
  "hex": "#284810",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 94.286,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.09076,
    "h": 134.6
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#284810
secondary
#603282
accent
#41E7A0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284810

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

Preview Lab → · Contrast checker → · Palette generator →

#284810 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva