#284B0C#284B0C

#284B0C is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.098 H 134.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#284B0C
RGBrgb(40, 75, 12)
HSLhsl(93, 72%, 17%)
HSVhsv(93, 84%, 29%)
CMYKcmyk(46.7%, 0%, 84%, 70.6%)
CIE-LABlab(28.14, -24.59, 31.24)
CIE-LCHlch(28.14, 39.76, 128.21°)
OKLaboklab(37.23% -0.0689 0.0697)
OKLCHoklch(37.23% 0.098 134.7)
XYZxyz(3.4574, 5.5096, 1.2290)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B0C #2F0C4B
analogous
#484B0C #284B0C #0C4B0F
triadic
#284B0C #0C284B #4B0C28
tetradic
#284B0C #0C484B #2F0C4B #4B0F0C
square
#284B0C #0C484B #2F0C4B #4B0F0C
split-complementary
#284B0C #0F0C4B #4B0C48
monochromatic
#0E1A04 #0E1A04 #284B0C #448014 #60B51D

Accessibility & contrast

On white

9.99
#284B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#284B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B0C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B0C#FFFFFF#000000##FFFFFF
##284B0C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4401
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#27483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284b0c;
/* rgb */ color: rgb(40, 75, 12);
/* oklch */ color: oklch(37.2% 0.098 134.7);
Tailwind
colors: {
  custom: {
    50: '#667d50',
    500: '#284b0c',
    950: '#000000',
  },
}
SCSS
$custom: #284b0c;
$custom-light: #667d50;
$custom-dark: #000000;
JSON
{
  "hex": "#284b0c",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 93.333,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3723,
    "c": 0.09795,
    "h": 134.7
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#284B0C
secondary
#5E2C87
accent
#39EF9E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284B0C

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

Preview Lab → · Contrast checker → · Palette generator →

#284B0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva