#282E0B#282E0B

#282E0B is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.7% C 0.055 H 118.2°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#282E0B
RGBrgb(40, 46, 11)
HSLhsl(70, 61%, 11%)
HSVhsv(70, 76%, 18%)
CMYKcmyk(13%, 0%, 76.1%, 82%)
CIE-LABlab(17.60, -8.81, 20.54)
CIE-LCHlch(17.60, 22.36, 113.22°)
OKLaboklab(28.66% -0.0258 0.048)
OKLCHoklch(28.66% 0.055 118.2)
XYZxyz(1.9125, 2.4293, 0.6847)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E0B #110B2E
analogous
#2E220B #282E0B #162E0B
triadic
#282E0B #0B282E #2E0B28
tetradic
#282E0B #0B2E22 #110B2E #2E0B16
square
#282E0B #0B2E22 #110B2E #2E0B16
split-complementary
#282E0B #0B162E #220B2E
monochromatic
#151906 #151906 #282E0B #535F17 #7E9123

Accessibility & contrast

On white

14.13
#282E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#282E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E0B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E0B#FFFFFF#000000##FFFFFF
##282E0B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B07
Deuteranopia (green-blind)
#312B0D
Tritanopia (blue-blind)
#2B2B27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #282e0b;
/* rgb */ color: rgb(40, 46, 11);
/* oklch */ color: oklch(28.7% 0.055 118.2);
Tailwind
colors: {
  custom: {
    50: '#63664c',
    500: '#282e0b',
    950: '#000000',
  },
}
SCSS
$custom: #282e0b;
$custom-light: #63664c;
$custom-dark: #000000;
JSON
{
  "hex": "#282e0b",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 11
  },
  "hsl": {
    "h": 70.286,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28659,
    "c": 0.05451,
    "h": 118.2
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#282E0B
secondary
#352A6A
accent
#43E55F
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #282E0B

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

Preview Lab → · Contrast checker → · Palette generator →

#282E0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva