#284F13#284F13

#284F13 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.099 H 136.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#284F13
RGBrgb(40, 79, 19)
HSLhsl(99, 61%, 19%)
HSVhsv(99, 76%, 31%)
CMYKcmyk(49.4%, 0%, 75.9%, 69%)
CIE-LABlab(29.64, -25.92, 29.78)
CIE-LCHlch(29.64, 39.48, 131.03°)
OKLaboklab(38.48% -0.0719 0.0678)
OKLCHoklch(38.48% 0.099 136.7)
XYZxyz(3.7885, 6.0899, 1.5918)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284F13 #3A134F
analogous
#464F13 #284F13 #134F1C
triadic
#284F13 #13284F #4F1328
tetradic
#284F13 #13464F #3A134F #4F1C13
square
#284F13 #13464F #3A134F #4F1C13
split-complementary
#284F13 #1C134F #4F1346
monochromatic
#0C1906 #0F1E07 #284F13 #41801F #5AB22B

Accessibility & contrast

On white

9.47
#284F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#284F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284F13
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284F13#FFFFFF#000000##FFFFFF
##284F131.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480A
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#264C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284f13;
/* rgb */ color: rgb(40, 79, 19);
/* oklch */ color: oklch(38.5% 0.099 136.7);
Tailwind
colors: {
  custom: {
    50: '#668155',
    500: '#284f13',
    950: '#000000',
  },
}
SCSS
$custom: #284f13;
$custom-light: #668155;
$custom-dark: #000000;
JSON
{
  "hex": "#284f13",
  "rgb": {
    "r": 40,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 99,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.09879,
    "h": 136.7
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#284F13
secondary
#6B3688
accent
#43E4AC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284F13

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

Preview Lab → · Contrast checker → · Palette generator →

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