#C0B231#C0B231

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

Color values

HEX#C0B231
RGBrgb(192, 178, 49)
HSLhsl(54, 59%, 47%)
HSVhsv(54, 74%, 75%)
CMYKcmyk(0%, 7.3%, 74.5%, 24.7%)
CIE-LABlab(71.74, -9.15, 63.37)
CIE-LCHlch(71.74, 64.03, 98.21°)
OKLaboklab(75.32% -0.032 0.1393)
OKLCHoklch(75.32% 0.143 102.9)
XYZxyz(38.2147, 43.2706, 9.2443)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B231 #313FC0
analogous
#C06B31 #C0B231 #86C031
triadic
#C0B231 #31C0B2 #B231C0
tetradic
#C0B231 #31C06B #313FC0 #C03186
square
#C0B231 #31C06B #313FC0 #C03186
split-complementary
#C0B231 #3186C0 #6B31C0
monochromatic
#5E5818 #8F8525 #C0B231 #D5C959 #E1D98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0B231#FFFFFF#000000##000000
##C0B2311.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)
#C2AC17
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#CFA599
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b231;
/* rgb */ color: rgb(192, 178, 49);
/* oklch */ color: oklch(75.3% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#d7c873',
    500: '#c0b231',
    950: '#000000',
  },
}
SCSS
$custom: #c0b231;
$custom-light: #d7c873;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b231",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 54.126,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75324,
    "c": 0.14291,
    "h": 102.9
  },
  "luminance": 0.43269
}

Semantic roles & 50–950 ramp

primary
#C0B231
secondary
#8289CB
accent
#55E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B231

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

Preview Lab → · Contrast checker → · Palette generator →

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