#283707#283707

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

Color values

HEX#283707
RGBrgb(40, 55, 7)
HSLhsl(79, 77%, 12%)
HSVhsv(79, 87%, 22%)
CMYKcmyk(27.3%, 0%, 87.3%, 78.4%)
CIE-LABlab(20.82, -14.53, 25.91)
CIE-LCHlch(20.82, 29.71, 119.28°)
OKLaboklab(31.25% -0.042 0.0584)
OKLCHoklch(31.25% 0.072 125.8)
XYZxyz(2.2796, 3.1988, 0.6983)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283707 #160737
analogous
#372E07 #283707 #103707
triadic
#283707 #072837 #370728
tetradic
#283707 #07372E #160737 #370710
square
#283707 #07372E #160737 #370710
split-complementary
#283707 #071037 #2E0737
monochromatic
#141B03 #141B03 #283707 #4F6D0E #77A415

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283707#FFFFFF#000000##FFFFFF
##2837071.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)
#3A3301
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#2A342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #283707;
/* rgb */ color: rgb(40, 55, 7);
/* oklch */ color: oklch(31.3% 0.072 125.8);
Tailwind
colors: {
  custom: {
    50: '#646d4b',
    500: '#283707',
    950: '#000000',
  },
}
SCSS
$custom: #283707;
$custom-light: #646d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#283707",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 78.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31251,
    "c": 0.07195,
    "h": 125.8
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#283707
secondary
#3D2377
accent
#34F470
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283707

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

Preview Lab → · Contrast checker → · Palette generator →

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