#283A0F#283A0F

#283A0F is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.070 H 129.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#283A0F
RGBrgb(40, 58, 15)
HSLhsl(85, 59%, 14%)
HSVhsv(85, 74%, 23%)
CMYKcmyk(31%, 0%, 74.1%, 77.3%)
CIE-LABlab(21.99, -15.55, 23.62)
CIE-LCHlch(21.99, 28.28, 123.36°)
OKLaboklab(32.22% -0.044 0.0542)
OKLCHoklch(32.22% 0.07 129.1)
XYZxyz(2.4743, 3.5117, 0.9993)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A0F #210F3A
analogous
#3A370F #283A0F #133A0F
triadic
#283A0F #0F283A #3A0F28
tetradic
#283A0F #0F3A37 #210F3A #3A0F13
square
#283A0F #0F3A37 #210F3A #3A0F13
split-complementary
#283A0F #0F133A #370F3A
monochromatic
#111806 #111806 #283A0F #4A6B1C #6B9B28

Accessibility & contrast

On white

12.34
#283A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#283A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A0F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A0F#FFFFFF#000000##FFFFFF
##283A0F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350A
Deuteranopia (green-blind)
#3B3412
Tritanopia (blue-blind)
#293731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a0f;
/* rgb */ color: rgb(40, 58, 15);
/* oklch */ color: oklch(32.2% 0.070 129.1);
Tailwind
colors: {
  custom: {
    50: '#64704f',
    500: '#283a0f',
    950: '#000000',
  },
}
SCSS
$custom: #283a0f;
$custom-light: #64704f;
$custom-dark: #000000;
JSON
{
  "hex": "#283a0f",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 85.116,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32218,
    "c": 0.06979,
    "h": 129.1
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#283A0F
secondary
#4D3074
accent
#46E287
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #283A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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