#677012#677012

#677012 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.0% C 0.111 H 115.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#677012
RGBrgb(103, 112, 18)
HSLhsl(66, 72%, 25%)
HSVhsv(66, 84%, 44%)
CMYKcmyk(8%, 0%, 83.9%, 56.1%)
CIE-LABlab(44.96, -15.50, 46.30)
CIE-LCHlch(44.96, 48.82, 108.50°)
OKLaboklab(52.03% -0.0476 0.1006)
OKLCHoklch(52.03% 0.111 115.3)
XYZxyz(11.4972, 14.5158, 2.7683)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677012 #1B1270
analogous
#704A12 #677012 #387012
triadic
#677012 #126770 #701267
tetradic
#677012 #12704A #1B1270 #701238
square
#677012 #12704A #1B1270 #701238
split-complementary
#677012 #123870 #4A1270
monochromatic
#181A04 #373B0A #677012 #97A51A #C8D923

Accessibility & contrast

On white

5.38
#677012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#677012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677012
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677012#FFFFFF#000000##FFFFFF
##6770121.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#6E695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #677012;
/* rgb */ color: rgb(103, 112, 18);
/* oklch */ color: oklch(52.0% 0.111 115.3);
Tailwind
colors: {
  custom: {
    50: '#96985a',
    500: '#677012',
    950: '#000000',
  },
}
SCSS
$custom: #677012;
$custom-light: #96985a;
$custom-dark: #000000;
JSON
{
  "hex": "#677012",
  "rgb": {
    "r": 103,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 65.745,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.11132,
    "h": 115.3
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#677012
secondary
#4237A7
accent
#39EF4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #677012

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

Preview Lab → · Contrast checker → · Palette generator →

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