#283710#283710

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

Color values

HEX#283710
RGBrgb(40, 55, 16)
HSLhsl(83, 55%, 14%)
HSVhsv(83, 71%, 22%)
CMYKcmyk(27.3%, 0%, 70.9%, 78.4%)
CIE-LABlab(20.91, -13.74, 21.91)
CIE-LCHlch(20.91, 25.86, 122.09°)
OKLaboklab(31.35% -0.0389 0.0507)
OKLCHoklch(31.35% 0.064 127.5)
XYZxyz(2.3348, 3.2209, 0.9888)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283710 #1F1037
analogous
#373310 #283710 #153710
triadic
#283710 #102837 #371028
tetradic
#283710 #103733 #1F1037 #371015
square
#283710 #103733 #1F1037 #371015
split-complementary
#283710 #101537 #331037
monochromatic
#111807 #111807 #283710 #4A661E #6D962C

Accessibility & contrast

On white

12.77
#283710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283710
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283710#FFFFFF#000000##FFFFFF
##2837101.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330C
Deuteranopia (green-blind)
#383213
Tritanopia (blue-blind)
#2A342F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #283710;
/* rgb */ color: rgb(40, 55, 16);
/* oklch */ color: oklch(31.3% 0.064 127.5);
Tailwind
colors: {
  custom: {
    50: '#636d50',
    500: '#283710',
    950: '#000000',
  },
}
SCSS
$custom: #283710;
$custom-light: #636d50;
$custom-dark: #000000;
JSON
{
  "hex": "#283710",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 16
  },
  "hsl": {
    "h": 83.077,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31347,
    "c": 0.0639,
    "h": 127.5
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#283710
secondary
#4A3271
accent
#4ADE83
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283710

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

Preview Lab → · Contrast checker → · Palette generator →

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