#676E22#676E22

#676E22 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.099 H 114.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#676E22
RGBrgb(103, 110, 34)
HSLhsl(66, 53%, 28%)
HSVhsv(66, 69%, 43%)
CMYKcmyk(6.4%, 0%, 69.1%, 56.9%)
CIE-LABlab(44.45, -13.55, 39.79)
CIE-LCHlch(44.45, 42.03, 108.81°)
OKLaboklab(51.65% -0.0407 0.0898)
OKLCHoklch(51.65% 0.099 114.4)
XYZxyz(11.4585, 14.1511, 3.6409)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676E22 #29226E
analogous
#6E4F22 #676E22 #416E22
triadic
#676E22 #22676E #6E2267
tetradic
#676E22 #226E4F #29226E #6E2241
square
#676E22 #226E4F #29226E #6E2241
split-complementary
#676E22 #22416E #4F226E
monochromatic
#161707 #3B3F14 #676E22 #939D30 #BAC545

Accessibility & contrast

On white

5.48
#676E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#676E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676E22
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676E22#FFFFFF#000000##FFFFFF
##676E221.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766817
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#6E675F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #676e22;
/* rgb */ color: rgb(103, 110, 34);
/* oklch */ color: oklch(51.6% 0.099 114.4);
Tailwind
colors: {
  custom: {
    50: '#959762',
    500: '#676e22',
    950: '#000000',
  },
}
SCSS
$custom: #676e22;
$custom-light: #959762;
$custom-dark: #000000;
JSON
{
  "hex": "#676e22",
  "rgb": {
    "r": 103,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 65.526,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.09862,
    "h": 114.4
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

primary
#676E22
secondary
#524AA1
accent
#4CDC59
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #676E22

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

Preview Lab → · Contrast checker → · Palette generator →

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