#28390F#28390F

#28390F is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.068 H 128.5°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#28390F
RGBrgb(40, 57, 15)
HSLhsl(84, 58%, 14%)
HSVhsv(84, 74%, 22%)
CMYKcmyk(29.8%, 0%, 73.7%, 77.6%)
CIE-LABlab(21.62, -14.98, 23.23)
CIE-LCHlch(21.62, 27.64, 122.83°)
OKLaboklab(31.92% -0.0424 0.0534)
OKLCHoklch(31.92% 0.068 128.5)
XYZxyz(2.4244, 3.4118, 0.9827)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28390F #200F39
analogous
#39350F #28390F #13390F
triadic
#28390F #0F2839 #390F28
tetradic
#28390F #0F3935 #200F39 #390F13
square
#28390F #0F3935 #200F39 #390F13
split-complementary
#28390F #0F1339 #350F39
monochromatic
#111806 #111806 #28390F #4A691C #6C9A29

Accessibility & contrast

On white

12.48
#28390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#28390F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28390F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28390F#FFFFFF#000000##FFFFFF
##28390F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350A
Deuteranopia (green-blind)
#3A3312
Tritanopia (blue-blind)
#293630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28390f;
/* rgb */ color: rgb(40, 57, 15);
/* oklch */ color: oklch(31.9% 0.068 128.5);
Tailwind
colors: {
  custom: {
    50: '#636f4f',
    500: '#28390f',
    950: '#000000',
  },
}
SCSS
$custom: #28390f;
$custom-light: #636f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28390f",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 84.286,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31923,
    "c": 0.06817,
    "h": 128.5
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#28390F
secondary
#4C3073
accent
#46E285
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28390F

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

Preview Lab → · Contrast checker → · Palette generator →

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