#283F0A#283F0A

#283F0A is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.082 H 130.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#283F0A
RGBrgb(40, 63, 10)
HSLhsl(86, 73%, 14%)
HSVhsv(86, 84%, 25%)
CMYKcmyk(36.5%, 0%, 84.1%, 75.3%)
CIE-LABlab(23.76, -18.70, 27.79)
CIE-LCHlch(23.76, 33.49, 123.94°)
OKLaboklab(33.65% -0.0531 0.0621)
OKLCHoklch(33.65% 0.082 130.5)
XYZxyz(2.7073, 4.0280, 0.9219)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F0A #210A3F
analogous
#3F3C0A #283F0A #0D3F0A
triadic
#283F0A #0A283F #3F0A28
tetradic
#283F0A #0A3F3C #210A3F #3F0A0D
square
#283F0A #0A3F3C #210A3F #3F0A0D
split-complementary
#283F0A #0A0D3F #3C0A3F
monochromatic
#111A04 #111A04 #283F0A #4A7412 #6BA91B

Accessibility & contrast

On white

11.63
#283F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F0A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F0A#FFFFFF#000000##FFFFFF
##283F0A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A02
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#293C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f0a;
/* rgb */ color: rgb(40, 63, 10);
/* oklch */ color: oklch(33.6% 0.082 130.5);
Tailwind
colors: {
  custom: {
    50: '#64744d',
    500: '#283f0a',
    950: '#000000',
  },
}
SCSS
$custom: #283f0a;
$custom-light: #64744d;
$custom-dark: #000000;
JSON
{
  "hex": "#283f0a",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 86.038,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.08169,
    "h": 130.5
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#283F0A
secondary
#4D297C
accent
#38EF88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #283F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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