#42631D#42631D

#42631D is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 45.8% C 0.105 H 131.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#42631D
RGBrgb(66, 99, 29)
HSLhsl(88, 55%, 25%)
HSVhsv(88, 71%, 39%)
CMYKcmyk(33.3%, 0%, 70.7%, 61.2%)
CIE-LABlab(38.15, -24.50, 34.60)
CIE-LCHlch(38.15, 42.40, 125.30°)
OKLaboklab(45.85% -0.069 0.079)
OKLCHoklch(45.85% 0.105 131.2)
XYZxyz(6.9303, 10.1704, 2.7601)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42631D #3E1D63
analogous
#63611D #42631D #1F631D
triadic
#42631D #1D4263 #631D42
tetradic
#42631D #1D6361 #3E1D63 #631D1F
square
#42631D #1D6361 #3E1D63 #631D1F
split-complementary
#42631D #1D1F63 #611D63
monochromatic
#101807 #22340F #42631D #62922B #81C239

Accessibility & contrast

On white

6.92
#42631D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#42631D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42631D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42631D#FFFFFF#000000##FFFFFF
##42631D1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B13
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#435F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #42631d;
/* rgb */ color: rgb(66, 99, 29);
/* oklch */ color: oklch(45.8% 0.105 131.2);
Tailwind
colors: {
  custom: {
    50: '#798f5d',
    500: '#42631d',
    950: '#000000',
  },
}
SCSS
$custom: #42631d;
$custom-light: #798f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#42631d",
  "rgb": {
    "r": 66,
    "g": 99,
    "b": 29
  },
  "hsl": {
    "h": 88.286,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.10489,
    "h": 131.2
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#42631D
secondary
#6B4498
accent
#4ADE90
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42631D

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

Preview Lab → · Contrast checker → · Palette generator →

#42631D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva