#283F15#283F15

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

Color values

HEX#283F15
RGBrgb(40, 63, 21)
HSLhsl(93, 50%, 16%)
HSVhsv(93, 67%, 25%)
CMYKcmyk(36.5%, 0%, 66.7%, 75.3%)
CIE-LABlab(23.87, -17.65, 22.50)
CIE-LCHlch(23.87, 28.59, 128.12°)
OKLaboklab(33.77% -0.0492 0.0526)
OKLCHoklch(33.77% 0.072 133.1)
XYZxyz(2.7879, 4.0602, 1.3461)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F15 #2C153F
analogous
#3D3F15 #283F15 #153F17
triadic
#283F15 #15283F #3F1528
tetradic
#283F15 #153D3F #2C153F #3F1715
square
#283F15 #153D3F #2C153F #3F1715
split-complementary
#283F15 #17153F #3F153D
monochromatic
#0F1708 #0F1708 #283F15 #456D24 #629B34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283F15#FFFFFF#000000##FFFFFF
##283F151.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)
#423A11
Deuteranopia (green-blind)
#3E3818
Tritanopia (blue-blind)
#283C36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f15;
/* rgb */ color: rgb(40, 63, 21);
/* oklch */ color: oklch(33.8% 0.072 133.1);
Tailwind
colors: {
  custom: {
    50: '#647454',
    500: '#283f15',
    950: '#000000',
  },
}
SCSS
$custom: #283f15;
$custom-light: #647454;
$custom-dark: #000000;
JSON
{
  "hex": "#283f15",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 21
  },
  "hsl": {
    "h": 92.857,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33769,
    "c": 0.07202,
    "h": 133.1
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#283F15
secondary
#5B3977
accent
#4EDA9B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283F15

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

Preview Lab → · Contrast checker → · Palette generator →

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