#284103#284103

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

Color values

HEX#284103
RGBrgb(40, 65, 3)
HSLhsl(84, 91%, 13%)
HSVhsv(84, 95%, 25%)
CMYKcmyk(38.5%, 0%, 95.4%, 74.5%)
CIE-LABlab(24.44, -20.24, 31.31)
CIE-LCHlch(24.44, 37.28, 122.88°)
OKLaboklab(34.19% -0.0579 0.0683)
OKLCHoklch(34.19% 0.09 130.3)
XYZxyz(2.7818, 4.2382, 0.7576)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284103 #1C0341
analogous
#413B03 #284103 #094103
triadic
#284103 #032841 #410328
tetradic
#284103 #03413B #1C0341 #410309
square
#284103 #03413B #1C0341 #410309
split-complementary
#284103 #030941 #3B0341
monochromatic
#121D01 #121D01 #284103 #4C7B06 #70B608

Accessibility & contrast

On white

11.37
#284103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284103
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284103#FFFFFF#000000##FFFFFF
##2841031.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284103;
/* rgb */ color: rgb(40, 65, 3);
/* oklch */ color: oklch(34.2% 0.090 130.3);
Tailwind
colors: {
  custom: {
    50: '#65754a',
    500: '#284103',
    950: '#000000',
  },
}
SCSS
$custom: #284103;
$custom-light: #65754a;
$custom-dark: #000000;
JSON
{
  "hex": "#284103",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 3
  },
  "hsl": {
    "h": 84.194,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34188,
    "c": 0.08958,
    "h": 130.3
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#284103
secondary
#461D83
accent
#29FF7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284103

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

Preview Lab → · Contrast checker → · Palette generator →

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