#C0B162#C0B162

#C0B162 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.102 H 98.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#C0B162
RGBrgb(192, 177, 98)
HSLhsl(50, 43%, 57%)
HSVhsv(50, 49%, 75%)
CMYKcmyk(0%, 7.8%, 49%, 24.7%)
CIE-LABlab(71.92, -5.30, 42.09)
CIE-LCHlch(71.92, 42.42, 97.18°)
OKLaboklab(75.61% -0.0156 0.1005)
OKLCHoklch(75.61% 0.102 98.8)
XYZxyz(39.6661, 43.5340, 17.8664)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B162 #6271C0
analogous
#C08262 #C0B162 #A0C062
triadic
#C0B162 #62C0B1 #B162C0
tetradic
#C0B162 #62C082 #6271C0 #C062A0
square
#C0B162 #62C082 #6271C0 #C062A0
split-complementary
#C0B162 #62A0C0 #8262C0
monochromatic
#786C30 #A39442 #C0B162 #D2C78E #E3DCB9

Accessibility & contrast

On white

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

On black

9.71
#C0B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B162
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B162#FFFFFF#000000##000000
##C0B1621.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD5B
Deuteranopia (green-blind)
#C3B365
Tritanopia (blue-blind)
#CCA79E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b162;
/* rgb */ color: rgb(192, 177, 98);
/* oklch */ color: oklch(75.6% 0.102 98.8);
Tailwind
colors: {
  custom: {
    50: '#d5c890',
    500: '#c0b162',
    950: '#000000',
  },
}
SCSS
$custom: #c0b162;
$custom-light: #d5c890;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b162",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 50.426,
    "s": 42.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.75608,
    "c": 0.10166,
    "h": 98.8
  },
  "luminance": 0.43533
}

Semantic roles & 50–950 ramp

primary
#C0B162
secondary
#ACB2D2
accent
#69D355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130D
muted
#83827D

Preview Lab

Preview with #C0B162

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

Preview Lab → · Contrast checker → · Palette generator →

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