#28380F#28380F

#28380F is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.067 H 127.9°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#28380F
RGBrgb(40, 56, 15)
HSLhsl(83, 58%, 14%)
HSVhsv(83, 73%, 22%)
CMYKcmyk(28.6%, 0%, 73.2%, 78%)
CIE-LABlab(21.26, -14.41, 22.83)
CIE-LCHlch(21.26, 27.00, 122.26°)
OKLaboklab(31.63% -0.0409 0.0525)
OKLCHoklch(31.63% 0.067 127.9)
XYZxyz(2.3755, 3.3139, 0.9663)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28380F #1F0F38
analogous
#38340F #28380F #14380F
triadic
#28380F #0F2838 #380F28
tetradic
#28380F #0F3834 #1F0F38 #380F14
square
#28380F #0F3834 #1F0F38 #380F14
split-complementary
#28380F #0F1438 #340F38
monochromatic
#111806 #111806 #28380F #4A681C #6D9929

Accessibility & contrast

On white

12.63
#28380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#28380F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28380F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28380F#FFFFFF#000000##FFFFFF
##28380F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340A
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#2A352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #28380f;
/* rgb */ color: rgb(40, 56, 15);
/* oklch */ color: oklch(31.6% 0.067 127.9);
Tailwind
colors: {
  custom: {
    50: '#636e4f',
    500: '#28380f',
    950: '#000000',
  },
}
SCSS
$custom: #28380f;
$custom-light: #636e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28380f",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 83.415,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31628,
    "c": 0.06655,
    "h": 127.9
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#28380F
secondary
#4A3072
accent
#47E183
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28380F

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

Preview Lab → · Contrast checker → · Palette generator →

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