#28430C#28430C

#28430C is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.086 H 132.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#28430C
RGBrgb(40, 67, 12)
HSLhsl(89, 70%, 15%)
HSVhsv(89, 82%, 26%)
CMYKcmyk(40.3%, 0%, 82.1%, 73.7%)
CIE-LABlab(25.23, -20.63, 28.40)
CIE-LCHlch(25.23, 35.10, 126.00°)
OKLaboklab(34.85% -0.0581 0.0637)
OKLCHoklch(34.85% 0.086 132.4)
XYZxyz(2.9486, 4.4918, 1.0594)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28430C #270C43
analogous
#43420C #28430C #0C430C
triadic
#28430C #0C2843 #430C28
tetradic
#28430C #0C4342 #270C43 #430C0C
square
#28430C #0C4342 #270C43 #430C0C
split-complementary
#28430C #0C0C43 #420C43
monochromatic
#0F1A05 #0F1A05 #28430C #477715 #66AB1F

Accessibility & contrast

On white

11.06
#28430C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#28430C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28430C
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28430C#FFFFFF#000000##FFFFFF
##28430C1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D04
Deuteranopia (green-blind)
#423B11
Tritanopia (blue-blind)
#284038
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #28430c;
/* rgb */ color: rgb(40, 67, 12);
/* oklch */ color: oklch(34.9% 0.086 132.4);
Tailwind
colors: {
  custom: {
    50: '#65774f',
    500: '#28430c',
    950: '#000000',
  },
}
SCSS
$custom: #28430c;
$custom-light: #65774f;
$custom-dark: #000000;
JSON
{
  "hex": "#28430c",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 12
  },
  "hsl": {
    "h": 89.455,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34853,
    "c": 0.08626,
    "h": 132.4
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#28430C
secondary
#552C7F
accent
#3BEC92
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #28430C

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

Preview Lab → · Contrast checker → · Palette generator →

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