#28370E#28370E

#28370E is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.3% C 0.066 H 127.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#28370E
RGBrgb(40, 55, 14)
HSLhsl(82, 59%, 14%)
HSVhsv(82, 75%, 22%)
CMYKcmyk(27.3%, 0%, 74.5%, 78.4%)
CIE-LABlab(20.89, -13.94, 22.94)
CIE-LCHlch(20.89, 26.84, 121.29°)
OKLaboklab(31.32% -0.0397 0.0526)
OKLCHoklch(31.32% 0.066 127)
XYZxyz(2.3205, 3.2152, 0.9137)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28370E #1D0E37
analogous
#37310E #28370E #13370E
triadic
#28370E #0E2837 #370E28
tetradic
#28370E #0E3731 #1D0E37 #370E13
square
#28370E #0E3731 #1D0E37 #370E13
split-complementary
#28370E #0E1337 #310E37
monochromatic
#121806 #121806 #28370E #4B681A #6F9927

Accessibility & contrast

On white

12.78
#28370E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#28370E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28370E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28370E#FFFFFF#000000##FFFFFF
##28370E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28370e;
/* rgb */ color: rgb(40, 55, 14);
/* oklch */ color: oklch(31.3% 0.066 127.0);
Tailwind
colors: {
  custom: {
    50: '#636d4f',
    500: '#28370e',
    950: '#000000',
  },
}
SCSS
$custom: #28370e;
$custom-light: #636d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28370e",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 14
  },
  "hsl": {
    "h": 81.951,
    "s": 59.42,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31322,
    "c": 0.06589,
    "h": 127
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#28370E
secondary
#472F72
accent
#45E37F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28370E

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

Preview Lab → · Contrast checker → · Palette generator →

#28370E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva