#677312#677312

#677312 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.8% C 0.115 H 117.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#677312
RGBrgb(103, 115, 18)
HSLhsl(67, 73%, 26%)
HSVhsv(67, 84%, 45%)
CMYKcmyk(10.4%, 0%, 84.3%, 54.9%)
CIE-LABlab(45.89, -17.11, 47.12)
CIE-LCHlch(45.89, 50.13, 109.95°)
OKLaboklab(52.77% -0.0521 0.1024)
OKLCHoklch(52.77% 0.115 117)
XYZxyz(11.8338, 15.1889, 2.8805)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677312 #1E1273
analogous
#734E12 #677312 #367312
triadic
#677312 #126773 #731267
tetradic
#677312 #12734E #1E1273 #731236
square
#677312 #12734E #1E1273 #731236
split-complementary
#677312 #123673 #4E1273
monochromatic
#181A04 #383E0A #677312 #96A81A #C6DD23

Accessibility & contrast

On white

5.20
#677312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#677312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677312
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677312#FFFFFF#000000##FFFFFF
##6773121.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#6E6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #677312;
/* rgb */ color: rgb(103, 115, 18);
/* oklch */ color: oklch(52.8% 0.115 117.0);
Tailwind
colors: {
  custom: {
    50: '#969b5b',
    500: '#677312',
    950: '#000000',
  },
}
SCSS
$custom: #677312;
$custom-light: #969b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#677312",
  "rgb": {
    "r": 103,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 67.423,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.11484,
    "h": 117
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#677312
secondary
#4537AA
accent
#38F04F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #677312

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

Preview Lab → · Contrast checker → · Palette generator →

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