#42680F#42680F

#42680F is a mid, vivid yellow-green. Relative luminance 0.111; OKLCH L 47.1% C 0.121 H 131.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#42680F
RGBrgb(66, 104, 15)
HSLhsl(86, 75%, 23%)
HSVhsv(86, 86%, 41%)
CMYKcmyk(36.5%, 0%, 85.6%, 59.2%)
CIE-LABlab(39.74, -27.87, 41.55)
CIE-LCHlch(39.74, 50.03, 123.85°)
OKLaboklab(47.11% -0.0793 0.0912)
OKLCHoklch(47.11% 0.121 131)
XYZxyz(7.2833, 11.0931, 2.2093)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42680F #350F68
analogous
#68610F #42680F #15680F
triadic
#42680F #0F4268 #680F42
tetradic
#42680F #0F6861 #350F68 #680F15
square
#42680F #0F6861 #350F68 #680F15
split-complementary
#42680F #0F1568 #610F68
monochromatic
#111B04 #203307 #42680F #649D17 #86D31E

Accessibility & contrast

On white

6.52
#42680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#42680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42680F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42680F#FFFFFF#000000##FFFFFF
##42680F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #42680f;
/* rgb */ color: rgb(66, 104, 15);
/* oklch */ color: oklch(47.1% 0.121 131.0);
Tailwind
colors: {
  custom: {
    50: '#7a9357',
    500: '#42680f',
    950: '#000000',
  },
}
SCSS
$custom: #42680f;
$custom-light: #7a9357;
$custom-dark: #000000;
JSON
{
  "hex": "#42680f",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 85.618,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47114,
    "c": 0.1209,
    "h": 131
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#42680F
secondary
#6132A1
accent
#36F186
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D03
muted
#7C7E78

Preview Lab

Preview with #42680F

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

Preview Lab → · Contrast checker → · Palette generator →

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