#28300D#28300D

#28300D is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.056 H 120.8°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#28300D
RGBrgb(40, 48, 13)
HSLhsl(74, 57%, 12%)
HSVhsv(74, 73%, 19%)
CMYKcmyk(16.7%, 0%, 72.9%, 81.2%)
CIE-LABlab(18.34, -9.87, 20.52)
CIE-LCHlch(18.34, 22.77, 115.68°)
OKLaboklab(29.26% -0.0285 0.0477)
OKLCHoklch(29.26% 0.056 120.8)
XYZxyz(2.0047, 2.5941, 0.7758)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28300D #150D30
analogous
#30270D #28300D #17300D
triadic
#28300D #0D2830 #300D28
tetradic
#28300D #0D3027 #150D30 #300D17
square
#28300D #0D3027 #150D30 #300D17
split-complementary
#28300D #0D1730 #270D30
monochromatic
#141807 #141807 #28300D #50601A #789027

Accessibility & contrast

On white

13.83
#28300D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28300D
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28300D#FFFFFF#000000##FFFFFF
##28300D1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D09
Deuteranopia (green-blind)
#322D0F
Tritanopia (blue-blind)
#2B2D29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #28300d;
/* rgb */ color: rgb(40, 48, 13);
/* oklch */ color: oklch(29.3% 0.056 120.8);
Tailwind
colors: {
  custom: {
    50: '#63684d',
    500: '#28300d',
    950: '#000000',
  },
}
SCSS
$custom: #28300d;
$custom-light: #63684d;
$custom-dark: #000000;
JSON
{
  "hex": "#28300d",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 13
  },
  "hsl": {
    "h": 73.714,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29263,
    "c": 0.05558,
    "h": 120.8
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#28300D
secondary
#3C2E6B
accent
#47E16A
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #28300D

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

Preview Lab → · Contrast checker → · Palette generator →

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