#776217#776217

#776217 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.3% C 0.093 H 92.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#776217
RGBrgb(119, 98, 23)
HSLhsl(47, 68%, 28%)
HSVhsv(47, 81%, 47%)
CMYKcmyk(0%, 17.6%, 80.7%, 53.3%)
CIE-LABlab(42.34, 0.28, 42.79)
CIE-LCHlch(42.34, 42.79, 89.62°)
OKLaboklab(50.31% -0.0039 0.0934)
OKLCHoklch(50.31% 0.093 92.4)
XYZxyz(12.1308, 12.7199, 2.6267)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#776217 #172C77
analogous
#773217 #776217 #5C7717
triadic
#776217 #177762 #621777
tetradic
#776217 #177732 #172C77 #77175C
square
#776217 #177732 #172C77 #77175C
split-complementary
#776217 #175C77 #321777
monochromatic
#1A1505 #44380D #776217 #AA8C21 #D7B331

Accessibility & contrast

On white

5.93
#776217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#776217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #776217
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##776217#FFFFFF#000000##FFFFFF
##7762171.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6008
Deuteranopia (green-blind)
#73661C
Tritanopia (blue-blind)
#815954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #776217;
/* rgb */ color: rgb(119, 98, 23);
/* oklch */ color: oklch(50.3% 0.093 92.4);
Tailwind
colors: {
  custom: {
    50: '#a28e5b',
    500: '#776217',
    950: '#000000',
  },
}
SCSS
$custom: #776217;
$custom-light: #a28e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#776217",
  "rgb": {
    "r": 119,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 46.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.09348,
    "h": 92.4
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#776217
secondary
#3E56AC
accent
#63EA3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #776217

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

Preview Lab → · Contrast checker → · Palette generator →

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