#68771A#68771A

#68771A is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 53.9% C 0.115 H 118.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#68771A
RGBrgb(104, 119, 26)
HSLhsl(70, 64%, 28%)
HSVhsv(70, 78%, 47%)
CMYKcmyk(12.6%, 0%, 78.2%, 53.3%)
CIE-LABlab(47.25, -18.41, 45.78)
CIE-LCHlch(47.25, 49.34, 111.91°)
OKLaboklab(53.9% -0.0551 0.101)
OKLCHoklch(53.9% 0.115 118.6)
XYZxyz(12.4925, 16.2114, 3.4481)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68771A #291A77
analogous
#77571A #68771A #39771A
triadic
#68771A #1A6877 #771A68
tetradic
#68771A #1A7757 #291A77 #771A39
square
#68771A #1A7757 #291A77 #771A39
split-complementary
#68771A #1A3977 #571A77
monochromatic
#161905 #3C450F #68771A #94A925 #BAD338

Accessibility & contrast

On white

4.95
#68771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#68771A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #68771A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68771A#FFFFFF#000000##FFFFFF
##68771A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7005
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#6F7065
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #68771a;
/* rgb */ color: rgb(104, 119, 26);
/* oklch */ color: oklch(53.9% 0.115 118.6);
Tailwind
colors: {
  custom: {
    50: '#969e5f',
    500: '#68771a',
    950: '#000000',
  },
}
SCSS
$custom: #68771a;
$custom-light: #969e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#68771a",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 69.677,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53897,
    "c": 0.11501,
    "h": 118.6
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#68771A
secondary
#5241AC
accent
#41E75C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #68771A

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

Preview Lab → · Contrast checker → · Palette generator →

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