#284106#284106

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

Color values

HEX#284106
RGBrgb(40, 65, 6)
HSLhsl(85, 83%, 14%)
HSVhsv(85, 91%, 25%)
CMYKcmyk(38.5%, 0%, 90.8%, 74.5%)
CIE-LABlab(24.46, -20.03, 30.11)
CIE-LCHlch(24.46, 36.16, 123.63°)
OKLaboklab(34.21% -0.0571 0.0663)
OKLCHoklch(34.21% 0.087 130.7)
XYZxyz(2.7982, 4.2448, 0.8441)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284106 #1F0641
analogous
#413D06 #284106 #0A4106
triadic
#284106 #062841 #410628
tetradic
#284106 #06413D #1F0641 #41060A
square
#284106 #06413D #1F0641 #41060A
split-complementary
#284106 #060A41 #3D0641
monochromatic
#111C03 #111C03 #284106 #4A790B #6DB110

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284106#FFFFFF#000000##FFFFFF
##2841061.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)
#41390C
Tritanopia (blue-blind)
#293E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #284106;
/* rgb */ color: rgb(40, 65, 6);
/* oklch */ color: oklch(34.2% 0.087 130.7);
Tailwind
colors: {
  custom: {
    50: '#65754c',
    500: '#284106',
    950: '#000000',
  },
}
SCSS
$custom: #284106;
$custom-light: #65754c;
$custom-dark: #000000;
JSON
{
  "hex": "#284106",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 85.424,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.08744,
    "h": 130.7
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#284106
secondary
#4A2281
accent
#2EF984
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284106

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

Preview Lab → · Contrast checker → · Palette generator →

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