#28350B#28350B

#28350B is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.7% C 0.065 H 125.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#28350B
RGBrgb(40, 53, 11)
HSLhsl(79, 66%, 13%)
HSVhsv(79, 79%, 21%)
CMYKcmyk(24.5%, 0%, 79.2%, 79.2%)
CIE-LABlab(20.13, -13.05, 23.50)
CIE-LCHlch(20.13, 26.88, 119.05°)
OKLaboklab(30.7% -0.0375 0.0537)
OKLCHoklch(30.7% 0.065 125)
XYZxyz(2.2086, 3.0215, 0.7834)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28350B #180B35
analogous
#352D0B #28350B #13350B
triadic
#28350B #0B2835 #350B28
tetradic
#28350B #0B352D #180B35 #350B13
square
#28350B #0B352D #180B35 #350B13
split-complementary
#28350B #0B1335 #2D0B35
monochromatic
#131905 #131905 #28350B #4E6816 #759A20

Accessibility & contrast

On white

13.09
#28350B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#28350B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28350B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28350B#FFFFFF#000000##FFFFFF
##28350B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383106
Deuteranopia (green-blind)
#37300E
Tritanopia (blue-blind)
#2A322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28350b;
/* rgb */ color: rgb(40, 53, 11);
/* oklch */ color: oklch(30.7% 0.065 125.0);
Tailwind
colors: {
  custom: {
    50: '#636c4d',
    500: '#28350b',
    950: '#000000',
  },
}
SCSS
$custom: #28350b;
$custom-light: #636c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28350b",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 11
  },
  "hsl": {
    "h": 78.571,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30701,
    "c": 0.06549,
    "h": 125
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#28350B
secondary
#402A72
accent
#3FE974
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28350B

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

Preview Lab → · Contrast checker → · Palette generator →

#28350B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva