#284907#284907

#284907 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.098 H 133.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#284907
RGBrgb(40, 73, 7)
HSLhsl(90, 83%, 16%)
HSVhsv(90, 90%, 29%)
CMYKcmyk(45.2%, 0%, 90.4%, 71.4%)
CIE-LABlab(27.38, -23.95, 32.41)
CIE-LCHlch(27.38, 40.30, 126.47°)
OKLaboklab(36.6% -0.0675 0.0712)
OKLCHoklch(36.6% 0.098 133.5)
XYZxyz(3.2959, 5.2314, 1.0371)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284907 #280749
analogous
#494907 #284907 #074907
triadic
#284907 #072849 #490728
tetradic
#284907 #074949 #280749 #490707
square
#284907 #074949 #280749 #490707
split-complementary
#284907 #070749 #490749
monochromatic
#0F1C03 #0F1C03 #284907 #47810C #65B912

Accessibility & contrast

On white

10.26
#284907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#284907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284907
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284907#FFFFFF#000000##FFFFFF
##2849071.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#48400F
Tritanopia (blue-blind)
#28463D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284907;
/* rgb */ color: rgb(40, 73, 7);
/* oklch */ color: oklch(36.6% 0.098 133.5);
Tailwind
colors: {
  custom: {
    50: '#667c4e',
    500: '#284907',
    950: '#000000',
  },
}
SCSS
$custom: #284907;
$custom-light: #667c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#284907",
  "rgb": {
    "r": 40,
    "g": 73,
    "b": 7
  },
  "hsl": {
    "h": 90,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36601,
    "c": 0.09812,
    "h": 133.5
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#284907
secondary
#562488
accent
#2FF994
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284907

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

Preview Lab → · Contrast checker → · Palette generator →

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