#283F14#283F14

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

Color values

HEX#283F14
RGBrgb(40, 63, 20)
HSLhsl(92, 52%, 16%)
HSVhsv(92, 68%, 25%)
CMYKcmyk(36.5%, 0%, 68.3%, 75.3%)
CIE-LABlab(23.86, -17.77, 23.03)
CIE-LCHlch(23.86, 29.09, 127.65°)
OKLaboklab(33.76% -0.0496 0.0536)
OKLCHoklch(33.76% 0.073 132.8)
XYZxyz(2.7788, 4.0565, 1.2983)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F14 #2B143F
analogous
#3E3F14 #283F14 #143F16
triadic
#283F14 #14283F #3F1428
tetradic
#283F14 #143E3F #2B143F #3F1614
square
#283F14 #143E3F #2B143F #3F1614
split-complementary
#283F14 #16143F #3F143E
monochromatic
#0F1707 #0F1707 #283F14 #456D23 #639C31

Accessibility & contrast

On white

11.59
#283F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F14
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F14#FFFFFF#000000##FFFFFF
##283F141.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283f14;
/* rgb */ color: rgb(40, 63, 20);
/* oklch */ color: oklch(33.8% 0.073 132.8);
Tailwind
colors: {
  custom: {
    50: '#647453',
    500: '#283f14',
    950: '#000000',
  },
}
SCSS
$custom: #283f14;
$custom-light: #647453;
$custom-dark: #000000;
JSON
{
  "hex": "#283f14",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 20
  },
  "hsl": {
    "h": 92.093,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.33755,
    "c": 0.07304,
    "h": 132.8
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#283F14
secondary
#5A3877
accent
#4DDB99
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050802
muted
#7A7B78

Preview Lab

Preview with #283F14

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

Preview Lab → · Contrast checker → · Palette generator →

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