#28410C#28410C

#28410C is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.083 H 131.7°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#28410C
RGBrgb(40, 65, 12)
HSLhsl(88, 69%, 15%)
HSVhsv(88, 82%, 25%)
CMYKcmyk(38.5%, 0%, 81.5%, 74.5%)
CIE-LABlab(24.51, -19.60, 27.67)
CIE-LCHlch(24.51, 33.91, 125.30°)
OKLaboklab(34.26% -0.0553 0.0622)
OKLCHoklch(34.26% 0.083 131.7)
XYZxyz(2.8317, 4.2581, 1.0205)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28410C #250C41
analogous
#413F0C #28410C #0D410C
triadic
#28410C #0C2841 #410C28
tetradic
#28410C #0C413F #250C41 #410C0D
square
#28410C #0C413F #250C41 #410C0D
split-complementary
#28410C #0C0D41 #3F0C41
monochromatic
#101A05 #101A05 #28410C #487516 #68A81F

Accessibility & contrast

On white

11.34
#28410C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#28410C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28410C
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28410C#FFFFFF#000000##FFFFFF
##28410C1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B04
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#293E37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28410c;
/* rgb */ color: rgb(40, 65, 12);
/* oklch */ color: oklch(34.3% 0.083 131.7);
Tailwind
colors: {
  custom: {
    50: '#65754f',
    500: '#28410c',
    950: '#000000',
  },
}
SCSS
$custom: #28410c;
$custom-light: #65754f;
$custom-dark: #000000;
JSON
{
  "hex": "#28410c",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 12
  },
  "hsl": {
    "h": 88.302,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.3426,
    "c": 0.08326,
    "h": 131.7
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#28410C
secondary
#522C7D
accent
#3CEC8F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #28410C

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

Preview Lab → · Contrast checker → · Palette generator →

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