#42631E#42631E

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

Color values

HEX#42631E
RGBrgb(66, 99, 30)
HSLhsl(89, 53%, 25%)
HSVhsv(89, 70%, 39%)
CMYKcmyk(33.3%, 0%, 69.7%, 61.2%)
CIE-LABlab(38.16, -24.42, 34.15)
CIE-LCHlch(38.16, 41.98, 125.56°)
OKLaboklab(45.86% -0.0687 0.0782)
OKLCHoklch(45.86% 0.104 131.3)
XYZxyz(6.9429, 10.1754, 2.8263)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42631E #3F1E63
analogous
#63611E #42631E #1F631E
triadic
#42631E #1E4263 #631E42
tetradic
#42631E #1E6361 #3F1E63 #631E1F
square
#42631E #1E6361 #3F1E63 #631E1F
split-complementary
#42631E #1E1F63 #611E63
monochromatic
#101707 #233410 #42631E #61922C #81C13A

Accessibility & contrast

On white

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

On black

3.04
#42631E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##42631E#FFFFFF#000000##FFFFFF
##42631E1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B15
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#435F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #42631e;
/* rgb */ color: rgb(66, 99, 30);
/* oklch */ color: oklch(45.9% 0.104 131.3);
Tailwind
colors: {
  custom: {
    50: '#798f5e',
    500: '#42631e',
    950: '#000000',
  },
}
SCSS
$custom: #42631e;
$custom-light: #798f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#42631e",
  "rgb": {
    "r": 66,
    "g": 99,
    "b": 30
  },
  "hsl": {
    "h": 88.696,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45858,
    "c": 0.10408,
    "h": 131.3
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#42631E
secondary
#6D4598
accent
#4BDD91
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42631E

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

Preview Lab → · Contrast checker → · Palette generator →

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