#28490E#28490E

#28490E is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.094 H 134.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#28490E
RGBrgb(40, 73, 14)
HSLhsl(94, 68%, 17%)
HSVhsv(94, 81%, 29%)
CMYKcmyk(45.2%, 0%, 80.8%, 71.4%)
CIE-LABlab(27.43, -23.47, 29.73)
CIE-LCHlch(27.43, 37.88, 128.29°)
OKLaboklab(36.65% -0.0657 0.0669)
OKLCHoklch(36.65% 0.094 134.5)
XYZxyz(3.3368, 5.2477, 1.2525)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28490E #2F0E49
analogous
#46490E #28490E #0E4911
triadic
#28490E #0E2849 #490E28
tetradic
#28490E #0E4649 #2F0E49 #49110E
square
#28490E #0E4649 #2F0E49 #49110E
split-complementary
#28490E #110E49 #490E46
monochromatic
#0E1A05 #0E1A05 #28490E #447C18 #60B022

Accessibility & contrast

On white

10.25
#28490E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#28490E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28490E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28490E#FFFFFF#000000##FFFFFF
##28490E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4204
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#27463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28490e;
/* rgb */ color: rgb(40, 73, 14);
/* oklch */ color: oklch(36.7% 0.094 134.5);
Tailwind
colors: {
  custom: {
    50: '#657c51',
    500: '#28490e',
    950: '#000000',
  },
}
SCSS
$custom: #28490e;
$custom-light: #657c51;
$custom-dark: #000000;
JSON
{
  "hex": "#28490e",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 14
  },
  "hsl": {
    "h": 93.559,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.09372,
    "h": 134.5
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#28490E
secondary
#5E2F84
accent
#3DEB9E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28490E

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

Preview Lab → · Contrast checker → · Palette generator →

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