#C0B248#C0B248

#C0B248 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.127 H 101.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C0B248
RGBrgb(192, 178, 72)
HSLhsl(53, 49%, 52%)
HSVhsv(53, 63%, 75%)
CMYKcmyk(0%, 7.3%, 62.5%, 24.7%)
CIE-LABlab(71.90, -7.89, 54.40)
CIE-LCHlch(71.90, 54.97, 98.26°)
OKLaboklab(75.51% -0.0259 0.1242)
OKLCHoklch(75.51% 0.127 101.8)
XYZxyz(38.8298, 43.5167, 12.4838)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B248 #4856C0
analogous
#C07648 #C0B248 #92C048
triadic
#C0B248 #48C0B2 #B248C0
tetradic
#C0B248 #48C076 #4856C0 #C04892
square
#C0B248 #48C076 #4856C0 #C04892
split-complementary
#C0B248 #4892C0 #7648C0
monochromatic
#696124 #978B34 #C0B248 #D0C576 #DFD8A3

Accessibility & contrast

On white

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

On black

9.70
#C0B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B248
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B248#FFFFFF#000000##000000
##C0B2481.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3C
Deuteranopia (green-blind)
#C6B34E
Tritanopia (blue-blind)
#CEA69B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b248;
/* rgb */ color: rgb(192, 178, 72);
/* oklch */ color: oklch(75.5% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#d6c880',
    500: '#c0b248',
    950: '#000000',
  },
}
SCSS
$custom: #c0b248;
$custom-light: #d6c880;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b248",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 53,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75509,
    "c": 0.12688,
    "h": 101.8
  },
  "luminance": 0.43515
}

Semantic roles & 50–950 ramp

primary
#C0B248
secondary
#989ECC
accent
#5FD84F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B248

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

Preview Lab → · Contrast checker → · Palette generator →

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