#42760F#42760F

#42760F is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.139 H 133.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#42760F
RGBrgb(66, 118, 15)
HSLhsl(90, 77%, 26%)
HSVhsv(90, 87%, 46%)
CMYKcmyk(44.1%, 0%, 87.3%, 53.7%)
CIE-LABlab(44.45, -34.25, 45.76)
CIE-LCHlch(44.45, 57.16, 126.81°)
OKLaboklab(50.97% -0.0965 0.1001)
OKLCHoklch(50.97% 0.139 133.9)
XYZxyz(8.8113, 14.1491, 2.7186)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42760F #430F76
analogous
#75760F #42760F #0F760F
triadic
#42760F #0F4276 #760F42
tetradic
#42760F #0F7576 #430F76 #760F0F
square
#42760F #0F7576 #430F76 #760F0F
split-complementary
#42760F #0F0F76 #760F75
monochromatic
#0F1B03 #244008 #42760F #60AC16 #7FE21D

Accessibility & contrast

On white

5.48
#42760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#42760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42760F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42760F#FFFFFF#000000##FFFFFF
##42760F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#417164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #42760f;
/* rgb */ color: rgb(66, 118, 15);
/* oklch */ color: oklch(51.0% 0.139 133.9);
Tailwind
colors: {
  custom: {
    50: '#7c9e59',
    500: '#42760f',
    950: '#000000',
  },
}
SCSS
$custom: #42760f;
$custom-light: #7c9e59;
$custom-dark: #000000;
JSON
{
  "hex": "#42760f",
  "rgb": {
    "r": 66,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 90.291,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.13904,
    "h": 133.9
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#42760F
secondary
#7133AD
accent
#34F495
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #42760F

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

Preview Lab → · Contrast checker → · Palette generator →

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