#42651B#42651B

#42651B is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.4% C 0.109 H 131.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#42651B
RGBrgb(66, 101, 27)
HSLhsl(88, 58%, 25%)
HSVhsv(88, 73%, 40%)
CMYKcmyk(34.7%, 0%, 73.3%, 60.4%)
CIE-LABlab(38.80, -25.66, 36.18)
CIE-LCHlch(38.80, 44.35, 125.34°)
OKLaboklab(46.38% -0.0724 0.082)
OKLCHoklch(46.38% 0.109 131.4)
XYZxyz(7.0982, 10.5445, 2.6980)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42651B #3E1B65
analogous
#65631B #42651B #1D651B
triadic
#42651B #1B4265 #651B42
tetradic
#42651B #1B6563 #3E1B65 #651B1D
square
#42651B #1B6563 #3E1B65 #651B1D
split-complementary
#42651B #1B1D65 #631B65
monochromatic
#101806 #22350E #42651B #629528 #81C635

Accessibility & contrast

On white

6.75
#42651B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#42651B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42651B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42651B#FFFFFF#000000##FFFFFF
##42651B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D10
Deuteranopia (green-blind)
#655A21
Tritanopia (blue-blind)
#436156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42651b;
/* rgb */ color: rgb(66, 101, 27);
/* oklch */ color: oklch(46.4% 0.109 131.4);
Tailwind
colors: {
  custom: {
    50: '#79915c',
    500: '#42651b',
    950: '#000000',
  },
}
SCSS
$custom: #42651b;
$custom-light: #79915c;
$custom-dark: #000000;
JSON
{
  "hex": "#42651b",
  "rgb": {
    "r": 66,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 88.378,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.10935,
    "h": 131.4
  },
  "luminance": 0.10545
}

Semantic roles & 50–950 ramp

primary
#42651B
secondary
#6B419A
accent
#47E190
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42651B

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

Preview Lab → · Contrast checker → · Palette generator →

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