#28300E#28300E

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

Color values

HEX#28300E
RGBrgb(40, 48, 14)
HSLhsl(74, 55%, 12%)
HSVhsv(74, 71%, 19%)
CMYKcmyk(16.7%, 0%, 70.8%, 81.2%)
CIE-LABlab(18.35, -9.76, 20.04)
CIE-LCHlch(18.35, 22.30, 115.97°)
OKLaboklab(29.28% -0.0281 0.0467)
OKLCHoklch(29.28% 0.055 121)
XYZxyz(2.0113, 2.5967, 0.8106)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28300E #160E30
analogous
#30270E #28300E #17300E
triadic
#28300E #0E2830 #300E28
tetradic
#28300E #0E3027 #160E30 #300E17
square
#28300E #0E3027 #160E30 #300E17
split-complementary
#28300E #0E1730 #270E30
monochromatic
#141807 #141807 #28300E #4F5F1C #778F2A

Accessibility & contrast

On white

13.82
#28300E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28300E
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28300E#FFFFFF#000000##FFFFFF
##28300E1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#322D10
Tritanopia (blue-blind)
#2A2D29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #28300e;
/* rgb */ color: rgb(40, 48, 14);
/* oklch */ color: oklch(29.3% 0.054 121.0);
Tailwind
colors: {
  custom: {
    50: '#63684e',
    500: '#28300e',
    950: '#000000',
  },
}
SCSS
$custom: #28300e;
$custom-light: #63684e;
$custom-dark: #000000;
JSON
{
  "hex": "#28300e",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 14
  },
  "hsl": {
    "h": 74.118,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29276,
    "c": 0.0545,
    "h": 121
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#28300E
secondary
#3D2F6A
accent
#4ADE6D
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #28300E

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

Preview Lab → · Contrast checker → · Palette generator →

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