#28330C#28330C

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

Color values

HEX#28330C
RGBrgb(40, 51, 12)
HSLhsl(77, 62%, 12%)
HSVhsv(77, 76%, 20%)
CMYKcmyk(21.6%, 0%, 76.5%, 80%)
CIE-LABlab(19.41, -11.78, 22.24)
CIE-LCHlch(19.41, 25.17, 117.91°)
OKLaboklab(30.13% -0.0339 0.0512)
OKLCHoklch(30.13% 0.061 123.5)
XYZxyz(2.1253, 2.8453, 0.7850)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28330C #170C33
analogous
#332B0C #28330C #15330C
triadic
#28330C #0C2833 #330C28
tetradic
#28330C #0C332B #170C33 #330C15
square
#28330C #0C332B #170C33 #330C15
split-complementary
#28330C #0C1533 #2B0C33
monochromatic
#131906 #131906 #28330C #4F6518 #769623

Accessibility & contrast

On white

13.38
#28330C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28330C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28330C#FFFFFF#000000##FFFFFF
##28330C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28330c;
/* rgb */ color: rgb(40, 51, 12);
/* oklch */ color: oklch(30.1% 0.061 123.5);
Tailwind
colors: {
  custom: {
    50: '#636a4d',
    500: '#28330c',
    950: '#000000',
  },
}
SCSS
$custom: #28330c;
$custom-light: #636a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28330c",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 76.923,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30125,
    "c": 0.06139,
    "h": 123.5
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#28330C
secondary
#3F2C6F
accent
#43E571
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #28330C

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

Preview Lab → · Contrast checker → · Palette generator →

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