#283F16#283F16

#283F16 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.071 H 133.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#283F16
RGBrgb(40, 63, 22)
HSLhsl(94, 48%, 17%)
HSVhsv(94, 65%, 25%)
CMYKcmyk(36.5%, 0%, 65.1%, 75.3%)
CIE-LABlab(23.88, -17.53, 21.95)
CIE-LCHlch(23.88, 28.09, 128.61°)
OKLaboklab(33.78% -0.0487 0.0516)
OKLCHoklch(33.78% 0.071 133.4)
XYZxyz(2.7973, 4.0640, 1.3959)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F16 #2D163F
analogous
#3D3F16 #283F16 #163F19
triadic
#283F16 #16283F #3F1628
tetradic
#283F16 #163D3F #2D163F #3F1916
square
#283F16 #163D3F #2D163F #3F1916
split-complementary
#283F16 #19163F #3F163D
monochromatic
#0E1708 #0E1708 #283F16 #456C26 #629A36

Accessibility & contrast

On white

11.58
#283F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#283F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F16
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F16#FFFFFF#000000##FFFFFF
##283F161.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A12
Deuteranopia (green-blind)
#3E3819
Tritanopia (blue-blind)
#283C36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f16;
/* rgb */ color: rgb(40, 63, 22);
/* oklch */ color: oklch(33.8% 0.071 133.4);
Tailwind
colors: {
  custom: {
    50: '#647455',
    500: '#283f16',
    950: '#000000',
  },
}
SCSS
$custom: #283f16;
$custom-light: #647455;
$custom-dark: #000000;
JSON
{
  "hex": "#283f16",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 22
  },
  "hsl": {
    "h": 93.659,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33783,
    "c": 0.07096,
    "h": 133.4
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#283F16
secondary
#5C3B76
accent
#50D89C
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283F16

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

Preview Lab → · Contrast checker → · Palette generator →

#283F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva