#28340A#28340A

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

Color values

HEX#28340A
RGBrgb(40, 52, 10)
HSLhsl(77, 68%, 12%)
HSVhsv(77, 81%, 20%)
CMYKcmyk(23.1%, 0%, 80.8%, 79.6%)
CIE-LABlab(19.76, -12.55, 23.50)
CIE-LCHlch(19.76, 26.64, 118.10°)
OKLaboklab(30.4% -0.0363 0.0537)
OKLCHoklch(30.4% 0.065 124)
XYZxyz(2.1579, 2.9290, 0.7388)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28340A #160A34
analogous
#342B0A #28340A #13340A
triadic
#28340A #0A2834 #340A28
tetradic
#28340A #0A342B #160A34 #340A13
square
#28340A #0A342B #160A34 #340A13
split-complementary
#28340A #0A1334 #2B0A34
monochromatic
#141A05 #141A05 #28340A #4F6714 #779B1E

Accessibility & contrast

On white

13.24
#28340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28340A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28340A#FFFFFF#000000##FFFFFF
##28340A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373005
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#2A312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28340a;
/* rgb */ color: rgb(40, 52, 10);
/* oklch */ color: oklch(30.4% 0.065 124.0);
Tailwind
colors: {
  custom: {
    50: '#636b4c',
    500: '#28340a',
    950: '#000000',
  },
}
SCSS
$custom: #28340a;
$custom-light: #636b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#28340a",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 77.143,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30397,
    "c": 0.06479,
    "h": 124
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#28340A
secondary
#3D2871
accent
#3DEB6F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28340A

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

Preview Lab → · Contrast checker → · Palette generator →

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