#28300B#28300B

#28300B is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.2% C 0.058 H 120.5°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#28300B
RGBrgb(40, 48, 11)
HSLhsl(73, 63%, 12%)
HSVhsv(73, 77%, 19%)
CMYKcmyk(16.7%, 0%, 77.1%, 81.2%)
CIE-LABlab(18.32, -10.05, 21.41)
CIE-LCHlch(18.32, 23.65, 115.16°)
OKLaboklab(29.24% -0.0292 0.0496)
OKLCHoklch(29.24% 0.058 120.5)
XYZxyz(1.9925, 2.5892, 0.7113)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28300B #130B30
analogous
#30260B #28300B #16300B
triadic
#28300B #0B2830 #300B28
tetradic
#28300B #0B3026 #130B30 #300B16
square
#28300B #0B3026 #130B30 #300B16
split-complementary
#28300B #0B1630 #260B30
monochromatic
#151906 #151906 #28300B #516216 #7B9422

Accessibility & contrast

On white

13.84
#28300B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#28300B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28300B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28300B#FFFFFF#000000##FFFFFF
##28300B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D07
Deuteranopia (green-blind)
#322D0E
Tritanopia (blue-blind)
#2B2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #28300b;
/* rgb */ color: rgb(40, 48, 11);
/* oklch */ color: oklch(29.2% 0.058 120.5);
Tailwind
colors: {
  custom: {
    50: '#63684c',
    500: '#28300b',
    950: '#000000',
  },
}
SCSS
$custom: #28300b;
$custom-light: #63684c;
$custom-dark: #000000;
JSON
{
  "hex": "#28300b",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 11
  },
  "hsl": {
    "h": 72.973,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29239,
    "c": 0.05762,
    "h": 120.5
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#28300B
secondary
#392A6D
accent
#42E665
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28300B

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

Preview Lab → · Contrast checker → · Palette generator →

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