#283906#283906

#283906 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.076 H 126.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#283906
RGBrgb(40, 57, 6)
HSLhsl(80, 81%, 12%)
HSVhsv(80, 89%, 22%)
CMYKcmyk(29.8%, 0%, 89.5%, 77.6%)
CIE-LABlab(21.54, -15.73, 27.11)
CIE-LCHlch(21.54, 31.34, 120.13°)
OKLaboklab(31.83% -0.0454 0.0606)
OKLCHoklch(31.83% 0.076 126.9)
XYZxyz(2.3711, 3.3905, 0.7018)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283906 #170639
analogous
#393106 #283906 #0F3906
triadic
#283906 #062839 #390628
tetradic
#283906 #063931 #170639 #39060F
square
#283906 #063931 #170639 #39060F
split-complementary
#283906 #060F39 #310639
monochromatic
#131C03 #131C03 #283906 #4F700C #76A812

Accessibility & contrast

On white

12.51
#283906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#283906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283906
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283906#FFFFFF#000000##FFFFFF
##2839061.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3400
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#2A362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283906;
/* rgb */ color: rgb(40, 57, 6);
/* oklch */ color: oklch(31.8% 0.076 126.9);
Tailwind
colors: {
  custom: {
    50: '#646f4b',
    500: '#283906',
    950: '#000000',
  },
}
SCSS
$custom: #283906;
$custom-light: #646f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#283906",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 80,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.07577,
    "h": 126.9
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#283906
secondary
#3F2279
accent
#30F773
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283906

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

Preview Lab → · Contrast checker → · Palette generator →

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