#284311#284311

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

Color values

HEX#284311
RGBrgb(40, 67, 17)
HSLhsl(92, 60%, 16%)
HSVhsv(92, 75%, 26%)
CMYKcmyk(40.3%, 0%, 74.6%, 73.7%)
CIE-LABlab(25.28, -20.20, 26.14)
CIE-LCHlch(25.28, 33.03, 127.69°)
OKLaboklab(34.9% -0.0565 0.0598)
OKLCHoklch(34.9% 0.082 133.4)
XYZxyz(2.9834, 4.5058, 1.2427)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284311 #2C1143
analogous
#414311 #284311 #114313
triadic
#284311 #112843 #431128
tetradic
#284311 #114143 #2C1143 #431311
square
#284311 #114143 #2C1143 #431311
split-complementary
#284311 #131143 #431141
monochromatic
#0F1806 #0F1806 #284311 #45741D #62A52A

Accessibility & contrast

On white

11.05
#284311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284311
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284311#FFFFFF#000000##FFFFFF
##2843111.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284311;
/* rgb */ color: rgb(40, 67, 17);
/* oklch */ color: oklch(34.9% 0.082 133.4);
Tailwind
colors: {
  custom: {
    50: '#647752',
    500: '#284311',
    950: '#000000',
  },
}
SCSS
$custom: #284311;
$custom-light: #647752;
$custom-dark: #000000;
JSON
{
  "hex": "#284311",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 17
  },
  "hsl": {
    "h": 92.4,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34902,
    "c": 0.08228,
    "h": 133.4
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#284311
secondary
#5B337D
accent
#45E39A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #284311

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

Preview Lab → · Contrast checker → · Palette generator →

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