#766212#766212

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

Color values

HEX#766212
RGBrgb(118, 98, 18)
HSLhsl(48, 74%, 27%)
HSVhsv(48, 85%, 46%)
CMYKcmyk(0%, 16.9%, 84.7%, 53.7%)
CIE-LABlab(42.20, -0.40, 44.42)
CIE-LCHlch(42.20, 44.42, 90.51°)
OKLaboklab(50.17% -0.0063 0.0958)
OKLCHoklch(50.17% 0.096 93.7)
XYZxyz(11.9488, 12.6313, 2.3809)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766212 #122676
analogous
#763012 #766212 #587612
triadic
#766212 #127662 #621276
tetradic
#766212 #127630 #122676 #761258
square
#766212 #127630 #122676 #761258
split-complementary
#766212 #125876 #301276
monochromatic
#1B1604 #41360A #766212 #AB8E1A #DEB925

Accessibility & contrast

On white

5.96
#766212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #766212
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766212#FFFFFF#000000##FFFFFF
##7662121.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #766212;
/* rgb */ color: rgb(118, 98, 18);
/* oklch */ color: oklch(50.2% 0.096 93.7);
Tailwind
colors: {
  custom: {
    50: '#a18e58',
    500: '#766212',
    950: '#000000',
  },
}
SCSS
$custom: #766212;
$custom-light: #a18e58;
$custom-dark: #000000;
JSON
{
  "hex": "#766212",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 48,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.09602,
    "h": 93.7
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#766212
secondary
#374FAD
accent
#5DF038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766212

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

Preview Lab → · Contrast checker → · Palette generator →

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