#284313#284313

#284313 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.080 H 133.9°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#284313
RGBrgb(40, 67, 19)
HSLhsl(94, 56%, 17%)
HSVhsv(94, 72%, 26%)
CMYKcmyk(40.3%, 0%, 71.6%, 73.7%)
CIE-LABlab(25.30, -20.00, 25.16)
CIE-LCHlch(25.30, 32.13, 128.48°)
OKLaboklab(34.92% -0.0558 0.058)
OKLCHoklch(34.92% 0.08 133.9)
XYZxyz(2.9997, 4.5123, 1.3289)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284313 #2E1343
analogous
#404313 #284313 #134316
triadic
#284313 #132843 #431328
tetradic
#284313 #134043 #2E1343 #431613
square
#284313 #134043 #2E1343 #431613
split-complementary
#284313 #161343 #431340
monochromatic
#0E1807 #0E1807 #284313 #447321 #61A22E

Accessibility & contrast

On white

11.04
#284313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#284313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284313
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284313#FFFFFF#000000##FFFFFF
##2843131.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0D
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#284039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #284313;
/* rgb */ color: rgb(40, 67, 19);
/* oklch */ color: oklch(34.9% 0.080 133.9);
Tailwind
colors: {
  custom: {
    50: '#647753',
    500: '#284313',
    950: '#000000',
  },
}
SCSS
$custom: #284313;
$custom-light: #647753;
$custom-dark: #000000;
JSON
{
  "hex": "#284313",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 93.75,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34925,
    "c": 0.08048,
    "h": 133.9
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#284313
secondary
#5D367C
accent
#49DF9D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #284313

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

Preview Lab → · Contrast checker → · Palette generator →

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