#28490C#28490C

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

Color values

HEX#28490C
RGBrgb(40, 73, 12)
HSLhsl(92, 72%, 17%)
HSVhsv(92, 84%, 29%)
CMYKcmyk(45.2%, 0%, 83.6%, 71.4%)
CIE-LABlab(27.41, -23.63, 30.54)
CIE-LCHlch(27.41, 38.61, 127.73°)
OKLaboklab(36.64% -0.0663 0.0682)
OKLCHoklch(36.64% 0.095 134.2)
XYZxyz(3.3239, 5.2426, 1.1845)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28490C #2D0C49
analogous
#47490C #28490C #0C490F
triadic
#28490C #0C2849 #490C28
tetradic
#28490C #0C4749 #2D0C49 #490F0C
square
#28490C #0C4749 #2D0C49 #490F0C
split-complementary
#28490C #0F0C49 #490C47
monochromatic
#0E1A04 #0E1A04 #28490C #457E15 #62B21D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28490C#FFFFFF#000000##FFFFFF
##28490C1.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)
#4C4202
Deuteranopia (green-blind)
#484012
Tritanopia (blue-blind)
#28463D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #28490c;
/* rgb */ color: rgb(40, 73, 12);
/* oklch */ color: oklch(36.6% 0.095 134.2);
Tailwind
colors: {
  custom: {
    50: '#667c50',
    500: '#28490c',
    950: '#000000',
  },
}
SCSS
$custom: #28490c;
$custom-light: #667c50;
$custom-dark: #000000;
JSON
{
  "hex": "#28490c",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 92.459,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36636,
    "c": 0.09508,
    "h": 134.2
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#28490C
secondary
#5C2C85
accent
#39EE9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28490C

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

Preview Lab → · Contrast checker → · Palette generator →

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