#283108#283108

#283108 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.062 H 121.1°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#283108
RGBrgb(40, 49, 8)
HSLhsl(73, 72%, 11%)
HSVhsv(73, 84%, 19%)
CMYKcmyk(18.4%, 0%, 83.7%, 80.8%)
CIE-LABlab(18.65, -10.92, 23.03)
CIE-LCHlch(18.65, 25.49, 115.37°)
OKLaboklab(29.5% -0.032 0.0531)
OKLCHoklch(29.5% 0.062 121.1)
XYZxyz(2.0172, 2.6653, 0.6379)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283108 #110831
analogous
#312508 #283108 #133108
triadic
#283108 #082831 #310828
tetradic
#283108 #083125 #110831 #310813
square
#283108 #083125 #110831 #310813
split-complementary
#283108 #081331 #250831
monochromatic
#151A04 #151A04 #283108 #536611 #7E9A19

Accessibility & contrast

On white

13.70
#283108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#283108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283108
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283108#FFFFFF#000000##FFFFFF
##2831081.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E03
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#2B2E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #283108;
/* rgb */ color: rgb(40, 49, 8);
/* oklch */ color: oklch(29.5% 0.062 121.1);
Tailwind
colors: {
  custom: {
    50: '#63694b',
    500: '#283108',
    950: '#000000',
  },
}
SCSS
$custom: #283108;
$custom-light: #63694b;
$custom-dark: #000000;
JSON
{
  "hex": "#283108",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 73.171,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29498,
    "c": 0.06198,
    "h": 121.1
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#283108
secondary
#352570
accent
#39EF61
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283108

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

Preview Lab → · Contrast checker → · Palette generator →

#283108 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva