#28300C#28300C

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

Color values

HEX#28300C
RGBrgb(40, 48, 12)
HSLhsl(73, 60%, 12%)
HSVhsv(73, 75%, 19%)
CMYKcmyk(16.7%, 0%, 75%, 81.2%)
CIE-LABlab(18.33, -9.96, 20.98)
CIE-LCHlch(18.33, 23.22, 115.41°)
OKLaboklab(29.25% -0.0289 0.0487)
OKLCHoklch(29.25% 0.057 120.7)
XYZxyz(1.9984, 2.5916, 0.7427)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28300C #140C30
analogous
#30260C #28300C #16300C
triadic
#28300C #0C2830 #300C28
tetradic
#28300C #0C3026 #140C30 #300C16
square
#28300C #0C3026 #140C30 #300C16
split-complementary
#28300C #0C1630 #260C30
monochromatic
#141806 #141806 #28300C #516118 #7A9224

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28300C#FFFFFF#000000##FFFFFF
##28300C1.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)
#332D08
Deuteranopia (green-blind)
#322D0E
Tritanopia (blue-blind)
#2B2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #28300c;
/* rgb */ color: rgb(40, 48, 12);
/* oklch */ color: oklch(29.3% 0.057 120.7);
Tailwind
colors: {
  custom: {
    50: '#63684d',
    500: '#28300c',
    950: '#000000',
  },
}
SCSS
$custom: #28300c;
$custom-light: #63684d;
$custom-dark: #000000;
JSON
{
  "hex": "#28300c",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 73.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29251,
    "c": 0.05662,
    "h": 120.7
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#28300C
secondary
#3A2C6C
accent
#45E368
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28300C

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

Preview Lab → · Contrast checker → · Palette generator →

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