#42550F#42550F

#42550F is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.9% C 0.095 H 124.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#42550F
RGBrgb(66, 85, 15)
HSLhsl(76, 70%, 20%)
HSVhsv(76, 82%, 33%)
CMYKcmyk(22.4%, 0%, 82.4%, 66.7%)
CIE-LABlab(33.33, -18.27, 35.64)
CIE-LCHlch(33.33, 40.05, 117.15°)
OKLaboklab(41.9% -0.0533 0.0788)
OKLCHoklch(41.9% 0.095 124.1)
XYZxyz(5.5816, 7.6897, 1.6420)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42550F #220F55
analogous
#55450F #42550F #1F550F
triadic
#42550F #0F4255 #550F42
tetradic
#42550F #0F5545 #220F55 #550F1F
square
#42550F #0F5545 #220F55 #550F1F
split-complementary
#42550F #0F1F55 #450F55
monochromatic
#141A05 #1A2106 #42550F #6A8918 #93BD21

Accessibility & contrast

On white

8.27
#42550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#42550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42550F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42550F#FFFFFF#000000##FFFFFF
##42550F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F01
Deuteranopia (green-blind)
#584E16
Tritanopia (blue-blind)
#465048
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #42550f;
/* rgb */ color: rgb(66, 85, 15);
/* oklch */ color: oklch(41.9% 0.095 124.1);
Tailwind
colors: {
  custom: {
    50: '#798554',
    500: '#42550f',
    950: '#000000',
  },
}
SCSS
$custom: #42550f;
$custom-light: #798554;
$custom-dark: #000000;
JSON
{
  "hex": "#42550f",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 76.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41903,
    "c": 0.0951,
    "h": 124.1
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#42550F
secondary
#4A318F
accent
#3BED6B
background
#F7F8F5
surface
#EEEFE8
border
#C9CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42550F

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

Preview Lab → · Contrast checker → · Palette generator →

#42550F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva