#284013#284013

#284013 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.0% C 0.076 H 132.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#284013
RGBrgb(40, 64, 19)
HSLhsl(92, 54%, 16%)
HSVhsv(92, 70%, 25%)
CMYKcmyk(37.5%, 0%, 70.3%, 74.9%)
CIE-LABlab(24.21, -18.42, 23.96)
CIE-LCHlch(24.21, 30.22, 127.55°)
OKLaboklab(34.04% -0.0515 0.0555)
OKLCHoklch(34.04% 0.076 132.8)
XYZxyz(2.8260, 4.1648, 1.2710)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284013 #2B1340
analogous
#3F4013 #284013 #134015
triadic
#284013 #132840 #401328
tetradic
#284013 #133F40 #2B1340 #401513
square
#284013 #133F40 #2B1340 #401513
split-complementary
#284013 #151340 #40133F
monochromatic
#0F1807 #0F1807 #284013 #456F21 #639E2F

Accessibility & contrast

On white

11.46
#284013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#284013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284013
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284013#FFFFFF#000000##FFFFFF
##2840131.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#3F3916
Tritanopia (blue-blind)
#283D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284013;
/* rgb */ color: rgb(40, 64, 19);
/* oklch */ color: oklch(34.0% 0.076 132.8);
Tailwind
colors: {
  custom: {
    50: '#647553',
    500: '#284013',
    950: '#000000',
  },
}
SCSS
$custom: #284013;
$custom-light: #647553;
$custom-dark: #000000;
JSON
{
  "hex": "#284013",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 92,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34038,
    "c": 0.07567,
    "h": 132.8
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#284013
secondary
#5A3679
accent
#4ADE99
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #284013

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

Preview Lab → · Contrast checker → · Palette generator →

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