#68771C#68771C

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

Color values

HEX#68771C
RGBrgb(104, 119, 28)
HSLhsl(70, 62%, 29%)
HSVhsv(70, 76%, 47%)
CMYKcmyk(12.6%, 0%, 76.5%, 53.3%)
CIE-LABlab(47.26, -18.31, 45.06)
CIE-LCHlch(47.26, 48.64, 112.11°)
OKLaboklab(53.91% -0.0546 0.0998)
OKLCHoklch(53.91% 0.114 118.7)
XYZxyz(12.5156, 16.2206, 3.5700)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68771C #2B1C77
analogous
#77591C #68771C #3B771C
triadic
#68771C #1C6877 #771C68
tetradic
#68771C #1C7759 #2B1C77 #771C3B
square
#68771C #1C7759 #2B1C77 #771C3B
split-complementary
#68771C #1C3B77 #591C77
monochromatic
#161906 #3D4510 #68771C #93A928 #B9D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##68771C#FFFFFF#000000##FFFFFF
##68771C1.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)
#7F7009
Deuteranopia (green-blind)
#7E7024
Tritanopia (blue-blind)
#6F7066
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #68771c;
/* rgb */ color: rgb(104, 119, 28);
/* oklch */ color: oklch(53.9% 0.114 118.7);
Tailwind
colors: {
  custom: {
    50: '#969e60',
    500: '#68771c',
    950: '#000000',
  },
}
SCSS
$custom: #68771c;
$custom-light: #969e60;
$custom-dark: #000000;
JSON
{
  "hex": "#68771c",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 69.89,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.11379,
    "h": 118.7
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#68771C
secondary
#5544AB
accent
#43E55E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #68771C

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

Preview Lab → · Contrast checker → · Palette generator →

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