#283705#283705

#283705 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.074 H 125.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#283705
RGBrgb(40, 55, 5)
HSLhsl(78, 83%, 12%)
HSVhsv(78, 91%, 22%)
CMYKcmyk(27.3%, 0%, 90.9%, 78.4%)
CIE-LABlab(20.81, -14.68, 26.71)
CIE-LCHlch(20.81, 30.48, 118.80°)
OKLaboklab(31.23% -0.0427 0.06)
OKLCHoklch(31.23% 0.074 125.5)
XYZxyz(2.2687, 3.1944, 0.6406)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283705 #140537
analogous
#372D05 #283705 #0F3705
triadic
#283705 #052837 #370528
tetradic
#283705 #05372D #140537 #37050F
square
#283705 #05372D #140537 #37050F
split-complementary
#283705 #050F37 #2D0537
monochromatic
#141C03 #141C03 #283705 #516F0A #7AA70F

Accessibility & contrast

On white

12.81
#283705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#283705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283705
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283705#FFFFFF#000000##FFFFFF
##2837051.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#393209
Tritanopia (blue-blind)
#2A342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #283705;
/* rgb */ color: rgb(40, 55, 5);
/* oklch */ color: oklch(31.2% 0.074 125.5);
Tailwind
colors: {
  custom: {
    50: '#646d4a',
    500: '#283705',
    950: '#000000',
  },
}
SCSS
$custom: #283705;
$custom-light: #646d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#283705",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 5
  },
  "hsl": {
    "h": 78,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31232,
    "c": 0.07365,
    "h": 125.5
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#283705
secondary
#3A2078
accent
#2EFA6B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283705

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

Preview Lab → · Contrast checker → · Palette generator →

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