#676A28#676A28

#676A28 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.7% C 0.088 H 111.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#676A28
RGBrgb(103, 106, 40)
HSLhsl(63, 45%, 29%)
HSVhsv(63, 62%, 42%)
CMYKcmyk(2.8%, 0%, 62.3%, 58.4%)
CIE-LABlab(43.28, -10.89, 35.74)
CIE-LCHlch(43.28, 37.36, 106.94°)
OKLaboklab(50.73% -0.0325 0.0822)
OKLCHoklch(50.73% 0.088 111.6)
XYZxyz(11.1308, 13.3451, 3.9966)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676A28 #2B286A
analogous
#6A4C28 #676A28 #466A28
triadic
#676A28 #28676A #6A2867
tetradic
#676A28 #286A4C #2B286A #6A2846
square
#676A28 #286A4C #2B286A #6A2846
split-complementary
#676A28 #28466A #4C286A
monochromatic
#161608 #3C3E17 #676A28 #929639 #B8BD50

Accessibility & contrast

On white

5.72
#676A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#676A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676A28
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676A28#FFFFFF#000000##FFFFFF
##676A281.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726521
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#6E645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #676a28;
/* rgb */ color: rgb(103, 106, 40);
/* oklch */ color: oklch(50.7% 0.088 111.6);
Tailwind
colors: {
  custom: {
    50: '#949465',
    500: '#676a28',
    950: '#000000',
  },
}
SCSS
$custom: #676a28;
$custom-light: #949465;
$custom-dark: #000000;
JSON
{
  "hex": "#676a28",
  "rgb": {
    "r": 103,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 62.727,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.08839,
    "h": 111.6
  },
  "luminance": 0.13345
}

Semantic roles & 50–950 ramp

primary
#676A28
secondary
#55519D
accent
#53D559
background
#F9F9F6
surface
#F2F1EB
border
#CCCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #676A28

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

Preview Lab → · Contrast checker → · Palette generator →

#676A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva