#C0B148#C0B148

#C0B148 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.3% C 0.126 H 101.2°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#C0B148
RGBrgb(192, 177, 72)
HSLhsl(53, 49%, 52%)
HSVhsv(53, 63%, 75%)
CMYKcmyk(0%, 7.8%, 62.5%, 24.7%)
CIE-LABlab(71.64, -7.37, 54.11)
CIE-LCHlch(71.64, 54.61, 97.76°)
OKLaboklab(75.3% -0.0245 0.1236)
OKLCHoklch(75.3% 0.126 101.2)
XYZxyz(38.6316, 43.1202, 12.4178)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B148 #4857C0
analogous
#C07548 #C0B148 #93C048
triadic
#C0B148 #48C0B1 #B148C0
tetradic
#C0B148 #48C075 #4857C0 #C04893
square
#C0B148 #48C075 #4857C0 #C04893
split-complementary
#C0B148 #4893C0 #7548C0
monochromatic
#696124 #978A34 #C0B148 #D0C476 #DFD8A3

Accessibility & contrast

On white

2.18
#C0B148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#C0B148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B148
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B148#FFFFFF#000000##000000
##C0B1481.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3C
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#CEA59B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c0b148;
/* rgb */ color: rgb(192, 177, 72);
/* oklch */ color: oklch(75.3% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#d6c87f',
    500: '#c0b148',
    950: '#000000',
  },
}
SCSS
$custom: #c0b148;
$custom-light: #d6c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b148",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 52.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75296,
    "c": 0.12598,
    "h": 101.2
  },
  "luminance": 0.43119
}

Semantic roles & 50–950 ramp

primary
#C0B148
secondary
#989ECC
accent
#61D84F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B148

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

Preview Lab → · Contrast checker → · Palette generator →

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