#42631B#42631B

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

Color values

HEX#42631B
RGBrgb(66, 99, 27)
HSLhsl(88, 57%, 25%)
HSVhsv(88, 73%, 39%)
CMYKcmyk(33.3%, 0%, 72.7%, 61.2%)
CIE-LABlab(38.13, -24.67, 35.48)
CIE-LCHlch(38.13, 43.22, 124.81°)
OKLaboklab(45.83% -0.0697 0.0805)
OKLCHoklch(45.83% 0.106 130.9)
XYZxyz(6.9064, 10.1608, 2.6341)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42631B #3C1B63
analogous
#63601B #42631B #1E631B
triadic
#42631B #1B4263 #631B42
tetradic
#42631B #1B6360 #3C1B63 #631B1E
square
#42631B #1B6360 #3C1B63 #631B1E
split-complementary
#42631B #1B1E63 #601B63
monochromatic
#101807 #22330E #42631B #629328 #82C335

Accessibility & contrast

On white

6.93
#42631B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42631B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42631B#FFFFFF#000000##FFFFFF
##42631B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42631b;
/* rgb */ color: rgb(66, 99, 27);
/* oklch */ color: oklch(45.8% 0.106 130.9);
Tailwind
colors: {
  custom: {
    50: '#798f5c',
    500: '#42631b',
    950: '#000000',
  },
}
SCSS
$custom: #42631b;
$custom-light: #798f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#42631b",
  "rgb": {
    "r": 66,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 87.5,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.10648,
    "h": 130.9
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#42631B
secondary
#694198
accent
#47E08E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42631B

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

Preview Lab → · Contrast checker → · Palette generator →

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