#C0B166#C0B166

#C0B166 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.7% C 0.097 H 98.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C0B166
RGBrgb(192, 177, 102)
HSLhsl(50, 42%, 58%)
HSVhsv(50, 47%, 75%)
CMYKcmyk(0%, 7.8%, 46.9%, 24.7%)
CIE-LABlab(71.97, -4.92, 40.13)
CIE-LCHlch(71.97, 40.43, 96.99°)
OKLaboklab(75.67% -0.014 0.0964)
OKLCHoklch(75.67% 0.097 98.3)
XYZxyz(39.8597, 43.6115, 18.8860)
Luminance0.4361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B166 #6675C0
analogous
#C08466 #C0B166 #A2C066
triadic
#C0B166 #66C0B1 #B166C0
tetradic
#C0B166 #66C084 #6675C0 #C066A2
square
#C0B166 #66C084 #6675C0 #C066A2
split-complementary
#C0B166 #66A2C0 #8466C0
monochromatic
#7A6E32 #A59544 #C0B166 #D2C791 #E4DDBD

Accessibility & contrast

On white

2.16
#C0B166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C0B166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B166
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B166#FFFFFF#000000##000000
##C0B1661.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAD60
Deuteranopia (green-blind)
#C2B369
Tritanopia (blue-blind)
#CCA79F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b166;
/* rgb */ color: rgb(192, 177, 102);
/* oklch */ color: oklch(75.7% 0.097 98.3);
Tailwind
colors: {
  custom: {
    50: '#d5c893',
    500: '#c0b166',
    950: '#000000',
  },
}
SCSS
$custom: #c0b166;
$custom-light: #d5c893;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b166",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 50,
    "s": 41.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.75666,
    "c": 0.09744,
    "h": 98.3
  },
  "luminance": 0.4361
}

Semantic roles & 50–950 ramp

primary
#C0B166
secondary
#AFB5D3
accent
#6BD156
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E

Preview Lab

Preview with #C0B166

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

Preview Lab → · Contrast checker → · Palette generator →

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