#283905#283905

#283905 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.077 H 126.7°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#283905
RGBrgb(40, 57, 5)
HSLhsl(80, 84%, 12%)
HSVhsv(80, 91%, 22%)
CMYKcmyk(29.8%, 0%, 91.2%, 77.6%)
CIE-LABlab(21.54, -15.81, 27.51)
CIE-LCHlch(21.54, 31.73, 119.89°)
OKLaboklab(31.83% -0.0458 0.0614)
OKLCHoklch(31.83% 0.077 126.7)
XYZxyz(2.3656, 3.3883, 0.6729)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283905 #160539
analogous
#393005 #283905 #0E3905
triadic
#283905 #052839 #390528
tetradic
#283905 #053930 #160539 #39050E
square
#283905 #053930 #160539 #39050E
split-complementary
#283905 #050E39 #300539
monochromatic
#141C02 #141C02 #283905 #4F710A #77AA0F

Accessibility & contrast

On white

12.52
#283905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#283905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283905
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283905#FFFFFF#000000##FFFFFF
##2839051.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3400
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#2A362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283905;
/* rgb */ color: rgb(40, 57, 5);
/* oklch */ color: oklch(31.8% 0.077 126.7);
Tailwind
colors: {
  custom: {
    50: '#646f4a',
    500: '#283905',
    950: '#000000',
  },
}
SCSS
$custom: #283905;
$custom-light: #646f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#283905",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 79.615,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31825,
    "c": 0.07659,
    "h": 126.7
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#283905
secondary
#3D207A
accent
#2EFA70
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #283905

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

Preview Lab → · Contrast checker → · Palette generator →

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