#28340E#28340E

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

Color values

HEX#28340E
RGBrgb(40, 52, 14)
HSLhsl(79, 58%, 13%)
HSVhsv(79, 73%, 20%)
CMYKcmyk(23.1%, 0%, 73.1%, 79.6%)
CIE-LABlab(19.80, -12.19, 21.72)
CIE-LCHlch(19.80, 24.91, 119.29°)
OKLaboklab(30.44% -0.0348 0.0501)
OKLCHoklch(30.44% 0.061 124.8)
XYZxyz(2.1823, 2.9388, 0.8676)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28340E #1A0E34
analogous
#342D0E #28340E #15340E
triadic
#28340E #0E2834 #340E28
tetradic
#28340E #0E342D #1A0E34 #340E15
square
#28340E #0E342D #1A0E34 #340E15
split-complementary
#28340E #0E1534 #2D0E34
monochromatic
#131806 #131806 #28340E #4D641B #729428

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28340E#FFFFFF#000000##FFFFFF
##28340E1.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)
#37300A
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#2A312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28340e;
/* rgb */ color: rgb(40, 52, 14);
/* oklch */ color: oklch(30.4% 0.061 124.8);
Tailwind
colors: {
  custom: {
    50: '#636b4e',
    500: '#28340e',
    950: '#000000',
  },
}
SCSS
$custom: #28340e;
$custom-light: #636b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#28340e",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 78.947,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30442,
    "c": 0.06102,
    "h": 124.8
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#28340E
secondary
#432F6F
accent
#47E178
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #28340E

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

Preview Lab → · Contrast checker → · Palette generator →

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