#284310#284310

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

Color values

HEX#284310
RGBrgb(40, 67, 16)
HSLhsl(92, 61%, 16%)
HSVhsv(92, 76%, 26%)
CMYKcmyk(40.3%, 0%, 76.1%, 73.7%)
CIE-LABlab(25.27, -20.29, 26.61)
CIE-LCHlch(25.27, 33.47, 127.33°)
OKLaboklab(34.89% -0.0569 0.0607)
OKLCHoklch(34.89% 0.083 133.2)
XYZxyz(2.9757, 4.5027, 1.2024)
Luminance0.0450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284310 #2B1043
analogous
#424310 #284310 #104312
triadic
#284310 #102843 #431028
tetradic
#284310 #104243 #2B1043 #431210
square
#284310 #104243 #2B1043 #431210
split-complementary
#284310 #121043 #431042
monochromatic
#0F1906 #0F1906 #284310 #45741C #63A628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284310#FFFFFF#000000##FFFFFF
##2843101.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)
#463D09
Deuteranopia (green-blind)
#423B14
Tritanopia (blue-blind)
#284039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #284310;
/* rgb */ color: rgb(40, 67, 16);
/* oklch */ color: oklch(34.9% 0.083 133.2);
Tailwind
colors: {
  custom: {
    50: '#657751',
    500: '#284310',
    950: '#000000',
  },
}
SCSS
$custom: #284310;
$custom-light: #657751;
$custom-dark: #000000;
JSON
{
  "hex": "#284310",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 16
  },
  "hsl": {
    "h": 91.765,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.08314,
    "h": 133.2
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#284310
secondary
#5A327D
accent
#43E599
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #284310

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

Preview Lab → · Contrast checker → · Palette generator →

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