#283107#283107

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

Color values

HEX#283107
RGBrgb(40, 49, 7)
HSLhsl(73, 75%, 11%)
HSVhsv(73, 86%, 19%)
CMYKcmyk(18.4%, 0%, 85.7%, 80.8%)
CIE-LABlab(18.64, -11.00, 23.43)
CIE-LCHlch(18.64, 25.88, 115.16°)
OKLaboklab(29.49% -0.0324 0.054)
OKLCHoklch(29.49% 0.063 121)
XYZxyz(2.0118, 2.6631, 0.6090)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283107 #100731
analogous
#312507 #283107 #133107
triadic
#283107 #072831 #310728
tetradic
#283107 #073125 #100731 #310713
square
#283107 #073125 #100731 #310713
split-complementary
#283107 #071331 #250731
monochromatic
#161B04 #161B04 #283107 #54670F #7F9C16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283107#FFFFFF#000000##FFFFFF
##2831071.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)
#352E02
Deuteranopia (green-blind)
#342D0A
Tritanopia (blue-blind)
#2B2E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #283107;
/* rgb */ color: rgb(40, 49, 7);
/* oklch */ color: oklch(29.5% 0.063 121.0);
Tailwind
colors: {
  custom: {
    50: '#63694a',
    500: '#283107',
    950: '#000000',
  },
}
SCSS
$custom: #283107;
$custom-light: #63694a;
$custom-dark: #000000;
JSON
{
  "hex": "#283107",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 72.857,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29487,
    "c": 0.06293,
    "h": 121
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#283107
secondary
#342371
accent
#36F25E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #283107

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

Preview Lab → · Contrast checker → · Palette generator →

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