#676F28#676F28

#676F28 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.0% C 0.095 H 115.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#676F28
RGBrgb(103, 111, 40)
HSLhsl(67, 47%, 30%)
HSVhsv(67, 64%, 44%)
CMYKcmyk(7.2%, 0%, 64%, 56.5%)
CIE-LABlab(44.81, -13.66, 37.41)
CIE-LCHlch(44.81, 39.83, 110.06°)
OKLaboklab(51.95% -0.0403 0.0858)
OKLCHoklch(51.95% 0.095 115.2)
XYZxyz(11.6612, 14.4058, 4.1734)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676F28 #30286F
analogous
#6F5428 #676F28 #436F28
triadic
#676F28 #28676F #6F2867
tetradic
#676F28 #286F54 #30286F #6F2843
square
#676F28 #286F54 #30286F #6F2843
split-complementary
#676F28 #28436F #54286F
monochromatic
#151608 #3D4218 #676F28 #919C38 #B4C051

Accessibility & contrast

On white

5.41
#676F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#676F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676F28
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676F28#FFFFFF#000000##FFFFFF
##676F281.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776920
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#6D6960
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #676f28;
/* rgb */ color: rgb(103, 111, 40);
/* oklch */ color: oklch(52.0% 0.095 115.2);
Tailwind
colors: {
  custom: {
    50: '#949865',
    500: '#676f28',
    950: '#000000',
  },
}
SCSS
$custom: #676f28;
$custom-light: #949865;
$custom-dark: #000000;
JSON
{
  "hex": "#676f28",
  "rgb": {
    "r": 103,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 66.761,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51951,
    "c": 0.09476,
    "h": 115.2
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#676F28
secondary
#5A51A1
accent
#51D760
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #676F28

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

Preview Lab → · Contrast checker → · Palette generator →

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