#28330A#28330A

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

Color values

HEX#28330A
RGBrgb(40, 51, 10)
HSLhsl(76, 67%, 12%)
HSVhsv(76, 80%, 20%)
CMYKcmyk(21.6%, 0%, 80.4%, 80%)
CIE-LABlab(19.39, -11.96, 23.08)
CIE-LCHlch(19.39, 26.00, 117.38°)
OKLaboklab(30.1% -0.0346 0.0529)
OKLCHoklch(30.1% 0.063 123.2)
XYZxyz(2.1137, 2.8407, 0.7240)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28330A #150A33
analogous
#332A0A #28330A #14330A
triadic
#28330A #0A2833 #330A28
tetradic
#28330A #0A332A #150A33 #330A14
square
#28330A #0A332A #150A33 #330A14
split-complementary
#28330A #0A1433 #2A0A33
monochromatic
#141A05 #141A05 #28330A #506614 #78991E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28330A#FFFFFF#000000##FFFFFF
##28330A1.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)
#362F05
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#2A302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #28330a;
/* rgb */ color: rgb(40, 51, 10);
/* oklch */ color: oklch(30.1% 0.063 123.2);
Tailwind
colors: {
  custom: {
    50: '#636a4c',
    500: '#28330a',
    950: '#000000',
  },
}
SCSS
$custom: #28330a;
$custom-light: #636a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#28330a",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 10
  },
  "hsl": {
    "h": 76.098,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30104,
    "c": 0.06324,
    "h": 123.2
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#28330A
secondary
#3C2870
accent
#3EEA6C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28330A

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

Preview Lab → · Contrast checker → · Palette generator →

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