#284309#284309

#284309 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.8% C 0.088 H 131.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#284309
RGBrgb(40, 67, 9)
HSLhsl(88, 76%, 15%)
HSVhsv(88, 87%, 26%)
CMYKcmyk(40.3%, 0%, 86.6%, 73.7%)
CIE-LABlab(25.21, -20.84, 29.60)
CIE-LCHlch(25.21, 36.21, 125.15°)
OKLaboklab(34.83% -0.059 0.0657)
OKLCHoklch(34.83% 0.088 131.9)
XYZxyz(2.9315, 4.4850, 0.9696)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284309 #240943
analogous
#434109 #284309 #0B4309
triadic
#284309 #092843 #430928
tetradic
#284309 #094341 #240943 #43090B
square
#284309 #094341 #240943 #43090B
split-complementary
#284309 #090B43 #410943
monochromatic
#101B04 #101B04 #284309 #487910 #68AF17

Accessibility & contrast

On white

11.07
#284309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#284309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284309
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284309#FFFFFF#000000##FFFFFF
##2843091.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0F
Tritanopia (blue-blind)
#294038
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #284309;
/* rgb */ color: rgb(40, 67, 9);
/* oklch */ color: oklch(34.8% 0.088 131.9);
Tailwind
colors: {
  custom: {
    50: '#65774e',
    500: '#284309',
    950: '#000000',
  },
}
SCSS
$custom: #284309;
$custom-light: #65774e;
$custom-dark: #000000;
JSON
{
  "hex": "#284309",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 9
  },
  "hsl": {
    "h": 87.931,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3483,
    "c": 0.08829,
    "h": 131.9
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#284309
secondary
#512781
accent
#35F38D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #284309

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

Preview Lab → · Contrast checker → · Palette generator →

#284309 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva