#28330B#28330B

#28330B is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.1% C 0.062 H 123.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#28330B
RGBrgb(40, 51, 11)
HSLhsl(77, 65%, 12%)
HSVhsv(77, 78%, 20%)
CMYKcmyk(21.6%, 0%, 78.4%, 80%)
CIE-LABlab(19.40, -11.87, 22.68)
CIE-LCHlch(19.40, 25.59, 117.63°)
OKLaboklab(30.11% -0.0343 0.0521)
OKLCHoklch(30.11% 0.062 123.4)
XYZxyz(2.1193, 2.8429, 0.7536)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28330B #160B33
analogous
#332A0B #28330B #14330B
triadic
#28330B #0B2833 #330B28
tetradic
#28330B #0B332A #160B33 #330B14
square
#28330B #0B332A #160B33 #330B14
split-complementary
#28330B #0B1433 #2A0B33
monochromatic
#141905 #141905 #28330B #4F6516 #779821

Accessibility & contrast

On white

13.39
#28330B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#28330B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28330B
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28330B#FFFFFF#000000##FFFFFF
##28330B1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F06
Deuteranopia (green-blind)
#352F0E
Tritanopia (blue-blind)
#2A302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #28330b;
/* rgb */ color: rgb(40, 51, 11);
/* oklch */ color: oklch(30.1% 0.062 123.4);
Tailwind
colors: {
  custom: {
    50: '#636a4c',
    500: '#28330b',
    950: '#000000',
  },
}
SCSS
$custom: #28330b;
$custom-light: #636a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#28330b",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 76.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30114,
    "c": 0.06234,
    "h": 123.4
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#28330B
secondary
#3D2A70
accent
#40E86E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28330B

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

Preview Lab → · Contrast checker → · Palette generator →

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