#28340D#28340D

#28340D is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.062 H 124.6°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#28340D
RGBrgb(40, 52, 13)
HSLhsl(78, 60%, 13%)
HSVhsv(78, 75%, 20%)
CMYKcmyk(23.1%, 0%, 75%, 79.6%)
CIE-LABlab(19.79, -12.28, 22.20)
CIE-LCHlch(19.79, 25.37, 118.95°)
OKLaboklab(30.43% -0.0352 0.0511)
OKLCHoklch(30.43% 0.062 124.6)
XYZxyz(2.1757, 2.9361, 0.8328)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28340D #190D34
analogous
#342C0D #28340D #14340D
triadic
#28340D #0D2834 #340D28
tetradic
#28340D #0D342C #190D34 #340D14
square
#28340D #0D342C #190D34 #340D14
split-complementary
#28340D #0D1434 #2C0D34
monochromatic
#131806 #131806 #28340D #4E6519 #739625

Accessibility & contrast

On white

13.23
#28340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#28340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28340D
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28340D#FFFFFF#000000##FFFFFF
##28340D1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373008
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#2A312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28340d;
/* rgb */ color: rgb(40, 52, 13);
/* oklch */ color: oklch(30.4% 0.062 124.6);
Tailwind
colors: {
  custom: {
    50: '#636b4e',
    500: '#28340d',
    950: '#000000',
  },
}
SCSS
$custom: #28340d;
$custom-light: #636b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#28340d",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 78.462,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3043,
    "c": 0.06203,
    "h": 124.6
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#28340D
secondary
#422D6F
accent
#45E375
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28340D

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

Preview Lab → · Contrast checker → · Palette generator →

#28340D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva