#766213#766213

#766213 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 50.2% C 0.096 H 93.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#766213
RGBrgb(118, 98, 19)
HSLhsl(48, 72%, 27%)
HSVhsv(48, 84%, 46%)
CMYKcmyk(0%, 16.9%, 83.9%, 53.7%)
CIE-LABlab(42.21, -0.36, 44.09)
CIE-LCHlch(42.21, 44.09, 90.47°)
OKLaboklab(50.17% -0.0061 0.0953)
OKLCHoklch(50.17% 0.096 93.6)
XYZxyz(11.9571, 12.6347, 2.4249)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766213 #132776
analogous
#763113 #766213 #597613
triadic
#766213 #137662 #621376
tetradic
#766213 #137631 #132776 #761359
square
#766213 #137631 #132776 #761359
split-complementary
#766213 #135976 #311376
monochromatic
#1A1604 #41360B #766213 #AB8E1B #DCB827

Accessibility & contrast

On white

5.95
#766213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#766213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766213
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766213#FFFFFF#000000##FFFFFF
##7662131.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6001
Deuteranopia (green-blind)
#736618
Tritanopia (blue-blind)
#805953
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #766213;
/* rgb */ color: rgb(118, 98, 19);
/* oklch */ color: oklch(50.2% 0.096 93.6);
Tailwind
colors: {
  custom: {
    50: '#a18e59',
    500: '#766213',
    950: '#000000',
  },
}
SCSS
$custom: #766213;
$custom-light: #a18e59;
$custom-dark: #000000;
JSON
{
  "hex": "#766213",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 47.879,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.09551,
    "h": 93.6
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#766213
secondary
#3950AC
accent
#5EEF39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766213

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

Preview Lab → · Contrast checker → · Palette generator →

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