#284107#284107

#284107 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.087 H 130.9°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#284107
RGBrgb(40, 65, 7)
HSLhsl(86, 81%, 14%)
HSVhsv(86, 89%, 25%)
CMYKcmyk(38.5%, 0%, 89.2%, 74.5%)
CIE-LABlab(24.47, -19.96, 29.71)
CIE-LCHlch(24.47, 35.79, 123.89°)
OKLaboklab(34.22% -0.0568 0.0656)
OKLCHoklch(34.22% 0.087 130.9)
XYZxyz(2.8037, 4.2469, 0.8730)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284107 #200741
analogous
#413D07 #284107 #0B4107
triadic
#284107 #072841 #410728
tetradic
#284107 #07413D #200741 #41070B
square
#284107 #07413D #200741 #41070B
split-complementary
#284107 #070B41 #3D0741
monochromatic
#111C03 #111C03 #284107 #4A780D #6CB013

Accessibility & contrast

On white

11.36
#284107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#284107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284107
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284107#FFFFFF#000000##FFFFFF
##2841071.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#41390D
Tritanopia (blue-blind)
#293E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284107;
/* rgb */ color: rgb(40, 65, 7);
/* oklch */ color: oklch(34.2% 0.087 130.9);
Tailwind
colors: {
  custom: {
    50: '#65754c',
    500: '#284107',
    950: '#000000',
  },
}
SCSS
$custom: #284107;
$custom-light: #65754c;
$custom-dark: #000000;
JSON
{
  "hex": "#284107",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 85.862,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34219,
    "c": 0.08674,
    "h": 130.9
  },
  "luminance": 0.04247
}

Semantic roles & 50–950 ramp

primary
#284107
secondary
#4C2480
accent
#31F786
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284107

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

Preview Lab → · Contrast checker → · Palette generator →

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