#284B0F#284B0F

#284B0F is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.096 H 135.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#284B0F
RGBrgb(40, 75, 15)
HSLhsl(95, 67%, 18%)
HSVhsv(95, 80%, 29%)
CMYKcmyk(46.7%, 0%, 80%, 70.6%)
CIE-LABlab(28.16, -24.36, 30.04)
CIE-LCHlch(28.16, 38.68, 129.05°)
OKLaboklab(37.25% -0.068 0.0677)
OKLCHoklch(37.25% 0.096 135.1)
XYZxyz(3.4773, 5.5176, 1.3336)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B0F #320F4B
analogous
#464B0F #284B0F #0F4B14
triadic
#284B0F #0F284B #4B0F28
tetradic
#284B0F #0F464B #320F4B #4B140F
square
#284B0F #0F464B #320F4B #4B140F
split-complementary
#284B0F #140F4B #4B0F46
monochromatic
#0E1A05 #0E1A05 #284B0F #437E19 #5EB123

Accessibility & contrast

On white

9.98
#284B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284B0F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B0F#FFFFFF#000000##FFFFFF
##284B0F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284b0f;
/* rgb */ color: rgb(40, 75, 15);
/* oklch */ color: oklch(37.3% 0.096 135.1);
Tailwind
colors: {
  custom: {
    50: '#667d52',
    500: '#284b0f',
    950: '#000000',
  },
}
SCSS
$custom: #284b0f;
$custom-light: #667d52;
$custom-dark: #000000;
JSON
{
  "hex": "#284b0f",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 95,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37254,
    "c": 0.09593,
    "h": 135.1
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#284B0F
secondary
#623085
accent
#3EEAA2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #284B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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