#284117#284117

#284117 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.073 H 134.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#284117
RGBrgb(40, 65, 23)
HSLhsl(96, 48%, 17%)
HSVhsv(96, 65%, 25%)
CMYKcmyk(38.5%, 0%, 64.6%, 74.5%)
CIE-LABlab(24.62, -18.48, 22.25)
CIE-LCHlch(24.62, 28.92, 129.72°)
OKLaboklab(34.39% -0.0513 0.0523)
OKLCHoklch(34.39% 0.073 134.4)
XYZxyz(2.9200, 4.2935, 1.4853)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284117 #301741
analogous
#3D4117 #284117 #17411B
triadic
#284117 #172841 #411728
tetradic
#284117 #173D41 #301741 #411B17
square
#284117 #173D41 #301741 #411B17
split-complementary
#284117 #1B1741 #41173D
monochromatic
#0E1708 #0E1708 #284117 #446E27 #609B37

Accessibility & contrast

On white

11.30
#284117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#284117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284117
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284117#FFFFFF#000000##FFFFFF
##2841171.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#403A1A
Tritanopia (blue-blind)
#283E38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284117;
/* rgb */ color: rgb(40, 65, 23);
/* oklch */ color: oklch(34.4% 0.073 134.4);
Tailwind
colors: {
  custom: {
    50: '#647655',
    500: '#284117',
    950: '#000000',
  },
}
SCSS
$custom: #284117;
$custom-light: #647655;
$custom-dark: #000000;
JSON
{
  "hex": "#284117",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 95.714,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.34386,
    "c": 0.07325,
    "h": 134.4
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#284117
secondary
#603C78
accent
#50D7A1
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #284117

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

Preview Lab → · Contrast checker → · Palette generator →

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