#28370F#28370F

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

Color values

HEX#28370F
RGBrgb(40, 55, 15)
HSLhsl(83, 57%, 14%)
HSVhsv(83, 73%, 22%)
CMYKcmyk(27.3%, 0%, 72.7%, 78.4%)
CIE-LABlab(20.90, -13.84, 22.44)
CIE-LCHlch(20.90, 26.36, 121.67°)
OKLaboklab(31.33% -0.0393 0.0517)
OKLCHoklch(31.33% 0.065 127.2)
XYZxyz(2.3275, 3.2179, 0.9503)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28370F #1E0F37
analogous
#37320F #28370F #14370F
triadic
#28370F #0F2837 #370F28
tetradic
#28370F #0F3732 #1E0F37 #370F14
square
#28370F #0F3732 #1E0F37 #370F14
split-complementary
#28370F #0F1437 #320F37
monochromatic
#111807 #111807 #28370F #4B671C #6E9729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28370F#FFFFFF#000000##FFFFFF
##28370F1.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)
#3A330A
Deuteranopia (green-blind)
#383212
Tritanopia (blue-blind)
#2A342F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28370f;
/* rgb */ color: rgb(40, 55, 15);
/* oklch */ color: oklch(31.3% 0.065 127.2);
Tailwind
colors: {
  custom: {
    50: '#636d4f',
    500: '#28370f',
    950: '#000000',
  },
}
SCSS
$custom: #28370f;
$custom-light: #636d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28370f",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 82.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31334,
    "c": 0.06491,
    "h": 127.2
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#28370F
secondary
#493171
accent
#47E081
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28370F

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

Preview Lab → · Contrast checker → · Palette generator →

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