#677226#677226

#677226 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.7% C 0.100 H 117.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#677226
RGBrgb(103, 114, 38)
HSLhsl(69, 50%, 30%)
HSVhsv(69, 67%, 45%)
CMYKcmyk(9.6%, 0%, 66.7%, 55.3%)
CIE-LABlab(45.71, -15.45, 39.31)
CIE-LCHlch(45.71, 42.24, 111.45°)
OKLaboklab(52.67% -0.0456 0.0895)
OKLCHoklch(52.67% 0.1 117)
XYZxyz(11.9609, 15.0583, 4.1098)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677226 #312672
analogous
#725726 #677226 #417226
triadic
#677226 #266772 #722667
tetradic
#677226 #267257 #312672 #722641
square
#677226 #267257 #312672 #722641
split-complementary
#677226 #264172 #572672
monochromatic
#151708 #3E4417 #677226 #90A035 #B3C44E

Accessibility & contrast

On white

5.23
#677226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#677226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677226
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677226#FFFFFF#000000##FFFFFF
##6772261.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1C
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#6D6C62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #677226;
/* rgb */ color: rgb(103, 114, 38);
/* oklch */ color: oklch(52.7% 0.100 117.0);
Tailwind
colors: {
  custom: {
    50: '#959a64',
    500: '#677226',
    950: '#000000',
  },
}
SCSS
$custom: #677226;
$custom-light: #959a64;
$custom-dark: #000000;
JSON
{
  "hex": "#677226",
  "rgb": {
    "r": 103,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 68.684,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.1004,
    "h": 117
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#677226
secondary
#5C4FA5
accent
#4EDA62
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #677226

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

Preview Lab → · Contrast checker → · Palette generator →

#677226 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva