#42631A#42631A

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

Color values

HEX#42631A
RGBrgb(66, 99, 26)
HSLhsl(87, 58%, 25%)
HSVhsv(87, 74%, 39%)
CMYKcmyk(33.3%, 0%, 73.7%, 61.2%)
CIE-LABlab(38.12, -24.75, 35.91)
CIE-LCHlch(38.12, 43.62, 124.58°)
OKLaboklab(45.82% -0.07 0.0813)
OKLCHoklch(45.82% 0.107 130.7)
XYZxyz(6.8950, 10.1563, 2.5742)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42631A #3B1A63
analogous
#63601A #42631A #1E631A
triadic
#42631A #1A4263 #631A42
tetradic
#42631A #1A6360 #3B1A63 #631A1E
square
#42631A #1A6360 #3B1A63 #631A1E
split-complementary
#42631A #1A1E63 #601A63
monochromatic
#101806 #22330D #42631A #629327 #83C433

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42631A#FFFFFF#000000##FFFFFF
##42631A1.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)
#685B0F
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#445F54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #42631a;
/* rgb */ color: rgb(66, 99, 26);
/* oklch */ color: oklch(45.8% 0.107 130.7);
Tailwind
colors: {
  custom: {
    50: '#798f5b',
    500: '#42631a',
    950: '#000000',
  },
}
SCSS
$custom: #42631a;
$custom-light: #798f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#42631a",
  "rgb": {
    "r": 66,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 87.123,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.10724,
    "h": 130.7
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#42631A
secondary
#684099
accent
#46E28C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42631A

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

Preview Lab → · Contrast checker → · Palette generator →

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