#283106#283106

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

Color values

HEX#283106
RGBrgb(40, 49, 6)
HSLhsl(73, 78%, 11%)
HSVhsv(73, 88%, 19%)
CMYKcmyk(18.4%, 0%, 87.8%, 80.8%)
CIE-LABlab(18.63, -11.09, 23.82)
CIE-LCHlch(18.63, 26.28, 114.96°)
OKLaboklab(29.48% -0.0328 0.0549)
OKLCHoklch(29.48% 0.064 120.8)
XYZxyz(2.0063, 2.6609, 0.5802)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283106 #0F0631
analogous
#312406 #283106 #123106
triadic
#283106 #062831 #310628
tetradic
#283106 #063124 #0F0631 #310612
square
#283106 #063124 #0F0631 #310612
split-complementary
#283106 #061231 #240631
monochromatic
#161B03 #161B03 #283106 #55680D #819E13

Accessibility & contrast

On white

13.71
#283106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283106
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283106#FFFFFF#000000##FFFFFF
##2831061.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D01
Deuteranopia (green-blind)
#342D09
Tritanopia (blue-blind)
#2B2E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #283106;
/* rgb */ color: rgb(40, 49, 6);
/* oklch */ color: oklch(29.5% 0.064 120.8);
Tailwind
colors: {
  custom: {
    50: '#63694a',
    500: '#283106',
    950: '#000000',
  },
}
SCSS
$custom: #283106;
$custom-light: #63694a;
$custom-dark: #000000;
JSON
{
  "hex": "#283106",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 6
  },
  "hsl": {
    "h": 72.558,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29476,
    "c": 0.0639,
    "h": 120.8
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#283106
secondary
#322172
accent
#33F55C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283106

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

Preview Lab → · Contrast checker → · Palette generator →

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