#28490F#28490F

#28490F is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.7% C 0.093 H 134.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#28490F
RGBrgb(40, 73, 15)
HSLhsl(94, 66%, 17%)
HSVhsv(94, 79%, 29%)
CMYKcmyk(45.2%, 0%, 79.5%, 71.4%)
CIE-LABlab(27.44, -23.39, 29.31)
CIE-LCHlch(27.44, 37.50, 128.60°)
OKLaboklab(36.66% -0.0654 0.0661)
OKLCHoklch(36.66% 0.093 134.7)
XYZxyz(3.3438, 5.2505, 1.2891)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28490F #300F49
analogous
#45490F #28490F #0F4913
triadic
#28490F #0F2849 #490F28
tetradic
#28490F #0F4549 #300F49 #49130F
square
#28490F #0F4549 #300F49 #49130F
split-complementary
#28490F #130F49 #490F45
monochromatic
#0E1905 #0E1905 #28490F #447C19 #60AF24

Accessibility & contrast

On white

10.24
#28490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28490F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28490F#FFFFFF#000000##FFFFFF
##28490F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28490f;
/* rgb */ color: rgb(40, 73, 15);
/* oklch */ color: oklch(36.7% 0.093 134.7);
Tailwind
colors: {
  custom: {
    50: '#657c51',
    500: '#28490f',
    950: '#000000',
  },
}
SCSS
$custom: #28490f;
$custom-light: #657c51;
$custom-dark: #000000;
JSON
{
  "hex": "#28490f",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 94.138,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36661,
    "c": 0.093,
    "h": 134.7
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#28490F
secondary
#603083
accent
#3FE9A0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28490F

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

Preview Lab → · Contrast checker → · Palette generator →

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