#C0B233#C0B233

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

Color values

HEX#C0B233
RGBrgb(192, 178, 51)
HSLhsl(54, 58%, 48%)
HSVhsv(54, 73%, 75%)
CMYKcmyk(0%, 7.3%, 73.4%, 24.7%)
CIE-LABlab(71.75, -9.06, 62.68)
CIE-LCHlch(71.75, 63.33, 98.22°)
OKLaboklab(75.34% -0.0315 0.1382)
OKLCHoklch(75.34% 0.142 102.9)
XYZxyz(38.2579, 43.2879, 9.4715)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B233 #3341C0
analogous
#C06C33 #C0B233 #87C033
triadic
#C0B233 #33C0B2 #B233C0
tetradic
#C0B233 #33C06C #3341C0 #C03387
square
#C0B233 #33C06C #3341C0 #C03387
split-complementary
#C0B233 #3387C0 #6C33C0
monochromatic
#5F5819 #908526 #C0B233 #D4C85C #E1D88D

Accessibility & contrast

On white

2.17
#C0B233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#C0B233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B233
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B233#FFFFFF#000000##000000
##C0B2331.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0b233;
/* rgb */ color: rgb(192, 178, 51);
/* oklch */ color: oklch(75.3% 0.142 102.9);
Tailwind
colors: {
  custom: {
    50: '#d7c874',
    500: '#c0b233',
    950: '#000000',
  },
}
SCSS
$custom: #c0b233;
$custom-light: #d7c874;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b233",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 54.043,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75337,
    "c": 0.14174,
    "h": 102.9
  },
  "luminance": 0.43286
}

Semantic roles & 50–950 ramp

primary
#C0B233
secondary
#848BCB
accent
#56E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B233

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

Preview Lab → · Contrast checker → · Palette generator →

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