#C0B138#C0B138

#C0B138 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.138 H 102.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#C0B138
RGBrgb(192, 177, 56)
HSLhsl(53, 55%, 49%)
HSVhsv(53, 71%, 75%)
CMYKcmyk(0%, 7.8%, 70.8%, 24.7%)
CIE-LABlab(71.51, -8.30, 60.60)
CIE-LCHlch(71.51, 61.16, 97.80°)
OKLaboklab(75.16% -0.0289 0.1347)
OKLCHoklch(75.16% 0.138 102.1)
XYZxyz(38.1759, 42.9379, 10.0176)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B138 #3847C0
analogous
#C06D38 #C0B138 #8BC038
triadic
#C0B138 #38C0B1 #B138C0
tetradic
#C0B138 #38C06D #3847C0 #C0388B
square
#C0B138 #38C06D #3847C0 #C0388B
split-complementary
#C0B138 #388BC0 #6D38C0
monochromatic
#615A1C #91852A #C0B138 #D2C664 #DFD793

Accessibility & contrast

On white

2.19
#C0B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#C0B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B138
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B138#FFFFFF#000000##000000
##C0B1381.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC25
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#CFA499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c0b138;
/* rgb */ color: rgb(192, 177, 56);
/* oklch */ color: oklch(75.2% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#d7c876',
    500: '#c0b138',
    950: '#000000',
  },
}
SCSS
$custom: #c0b138;
$custom-light: #d7c876;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b138",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 53.382,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75159,
    "c": 0.13776,
    "h": 102.1
  },
  "luminance": 0.42936
}

Semantic roles & 50–950 ramp

primary
#C0B138
secondary
#8990CB
accent
#5ADE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B138

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

Preview Lab → · Contrast checker → · Palette generator →

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