#284105#284105

#284105 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.088 H 130.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#284105
RGBrgb(40, 65, 5)
HSLhsl(85, 86%, 14%)
HSVhsv(85, 92%, 25%)
CMYKcmyk(38.5%, 0%, 92.3%, 74.5%)
CIE-LABlab(24.46, -20.10, 30.51)
CIE-LCHlch(24.46, 36.53, 123.38°)
OKLaboklab(34.2% -0.0573 0.0669)
OKLCHoklch(34.2% 0.088 130.6)
XYZxyz(2.7927, 4.2426, 0.8153)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284105 #1E0541
analogous
#413C05 #284105 #0A4105
triadic
#284105 #052841 #410528
tetradic
#284105 #05413C #1E0541 #41050A
square
#284105 #05413C #1E0541 #41050A
split-complementary
#284105 #050A41 #3C0541
monochromatic
#111C02 #111C02 #284105 #4B7A09 #6EB30E

Accessibility & contrast

On white

11.36
#284105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#284105 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284105
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284105#FFFFFF#000000##FFFFFF
##2841051.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#41390B
Tritanopia (blue-blind)
#293E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284105;
/* rgb */ color: rgb(40, 65, 5);
/* oklch */ color: oklch(34.2% 0.088 130.6);
Tailwind
colors: {
  custom: {
    50: '#65754b',
    500: '#284105',
    950: '#000000',
  },
}
SCSS
$custom: #284105;
$custom-light: #65754b;
$custom-dark: #000000;
JSON
{
  "hex": "#284105",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 85,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34203,
    "c": 0.08815,
    "h": 130.6
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#284105
secondary
#492081
accent
#2CFC83
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284105

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

Preview Lab → · Contrast checker → · Palette generator →

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