#28451F#28451F

#28451F is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.7% C 0.071 H 138.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#28451F
RGBrgb(40, 69, 31)
HSLhsl(106, 38%, 20%)
HSVhsv(106, 55%, 27%)
CMYKcmyk(42%, 0%, 55.1%, 72.9%)
CIE-LABlab(26.18, -19.49, 19.49)
CIE-LCHlch(26.18, 27.57, 135.01°)
OKLaboklab(35.69% -0.0534 0.047)
OKLCHoklch(35.69% 0.071 138.7)
XYZxyz(3.2504, 4.8061, 2.0525)
Luminance0.0481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28451F #3C1F45
analogous
#3B451F #28451F #1F4529
triadic
#28451F #1F2845 #451F28
tetradic
#28451F #1F3B45 #3C1F45 #45291F
square
#28451F #1F3B45 #3C1F45 #45291F
split-complementary
#28451F #291F45 #451F3B
monochromatic
#0C1509 #101B0C #28451F #406F32 #599945

Accessibility & contrast

On white

10.71
#28451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#28451F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28451F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28451F#FFFFFF#000000##FFFFFF
##28451F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401C
Deuteranopia (green-blind)
#433D21
Tritanopia (blue-blind)
#26433C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28451f;
/* rgb */ color: rgb(40, 69, 31);
/* oklch */ color: oklch(35.7% 0.071 138.7);
Tailwind
colors: {
  custom: {
    50: '#64795b',
    500: '#28451f',
    950: '#000000',
  },
}
SCSS
$custom: #28451f;
$custom-light: #64795b;
$custom-dark: #000000;
JSON
{
  "hex": "#28451f",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 105.789,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3569,
    "c": 0.07116,
    "h": 138.7
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#28451F
secondary
#6D4679
accent
#5ACEB2
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050904
muted
#7A7B79

Preview Lab

Preview with #28451F

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

Preview Lab → · Contrast checker → · Palette generator →

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