#283907#283907

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

Color values

HEX#283907
RGBrgb(40, 57, 7)
HSLhsl(80, 78%, 13%)
HSVhsv(80, 88%, 22%)
CMYKcmyk(29.8%, 0%, 87.7%, 77.6%)
CIE-LABlab(21.55, -15.65, 26.71)
CIE-LCHlch(21.55, 30.96, 120.38°)
OKLaboklab(31.84% -0.0451 0.0598)
OKLCHoklch(31.84% 0.075 127)
XYZxyz(2.3766, 3.3927, 0.7306)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283907 #180739
analogous
#393107 #283907 #0F3907
triadic
#283907 #072839 #390728
tetradic
#283907 #073931 #180739 #39070F
square
#283907 #073931 #180739 #39070F
split-complementary
#283907 #070F39 #310739
monochromatic
#131B03 #131B03 #283907 #4E700E #74A614

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283907#FFFFFF#000000##FFFFFF
##2839071.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)
#3C3401
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#2A3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #283907;
/* rgb */ color: rgb(40, 57, 7);
/* oklch */ color: oklch(31.8% 0.075 127.0);
Tailwind
colors: {
  custom: {
    50: '#646f4b',
    500: '#283907',
    950: '#000000',
  },
}
SCSS
$custom: #283907;
$custom-light: #646f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#283907",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 7
  },
  "hsl": {
    "h": 80.4,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31843,
    "c": 0.07494,
    "h": 127
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#283907
secondary
#402379
accent
#33F575
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #283907

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

Preview Lab → · Contrast checker → · Palette generator →

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