#C0B230#C0B230

#C0B230 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.143 H 103.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C0B230
RGBrgb(192, 178, 48)
HSLhsl(54, 60%, 47%)
HSVhsv(54, 75%, 75%)
CMYKcmyk(0%, 7.3%, 75%, 24.7%)
CIE-LABlab(71.73, -9.19, 63.71)
CIE-LCHlch(71.73, 64.37, 98.21°)
OKLaboklab(75.32% -0.0322 0.1398)
OKLCHoklch(75.32% 0.143 103)
XYZxyz(38.1938, 43.2623, 9.1344)
Luminance0.4326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B230 #303EC0
analogous
#C06A30 #C0B230 #86C030
triadic
#C0B230 #30C0B2 #B230C0
tetradic
#C0B230 #30C06A #303EC0 #C03086
square
#C0B230 #30C06A #303EC0 #C03086
split-complementary
#C0B230 #3086C0 #6A30C0
monochromatic
#5E5718 #8F8524 #C0B230 #D5C958 #E1D989

Accessibility & contrast

On white

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

On black

9.65
#C0B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B230
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B230#FFFFFF#000000##000000
##C0B2301.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC15
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#CFA599
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b230;
/* rgb */ color: rgb(192, 178, 48);
/* oklch */ color: oklch(75.3% 0.143 103.0);
Tailwind
colors: {
  custom: {
    50: '#d7c872',
    500: '#c0b230',
    950: '#000000',
  },
}
SCSS
$custom: #c0b230;
$custom-light: #d7c872;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b230",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 54.167,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75318,
    "c": 0.14348,
    "h": 103
  },
  "luminance": 0.43261
}

Semantic roles & 50–950 ramp

primary
#C0B230
secondary
#8088CB
accent
#54E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C0B230

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

Preview Lab → · Contrast checker → · Palette generator →

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