#C0B238#C0B238

#C0B238 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.139 H 102.7°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C0B238
RGBrgb(192, 178, 56)
HSLhsl(54, 55%, 49%)
HSVhsv(54, 71%, 75%)
CMYKcmyk(0%, 7.3%, 70.8%, 24.7%)
CIE-LABlab(71.78, -8.82, 60.86)
CIE-LCHlch(71.78, 61.50, 98.25°)
OKLaboklab(75.37% -0.0304 0.1353)
OKLCHoklch(75.37% 0.139 102.7)
XYZxyz(38.3741, 43.3344, 10.0837)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B238 #3846C0
analogous
#C06E38 #C0B238 #8AC038
triadic
#C0B238 #38C0B2 #B238C0
tetradic
#C0B238 #38C06E #3846C0 #C0388A
square
#C0B238 #38C06E #3846C0 #C0388A
split-complementary
#C0B238 #388AC0 #6E38C0
monochromatic
#615A1C #91862A #C0B238 #D2C664 #DFD893

Accessibility & contrast

On white

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

On black

9.67
#C0B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B238
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B238#FFFFFF#000000##000000
##C0B2381.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C6B340
Tritanopia (blue-blind)
#CEA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b238;
/* rgb */ color: rgb(192, 178, 56);
/* oklch */ color: oklch(75.4% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#d7c876',
    500: '#c0b238',
    950: '#000000',
  },
}
SCSS
$custom: #c0b238;
$custom-light: #d7c876;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b238",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 53.824,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75372,
    "c": 0.13863,
    "h": 102.7
  },
  "luminance": 0.43333
}

Semantic roles & 50–950 ramp

primary
#C0B238
secondary
#8990CB
accent
#59DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B238

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

Preview Lab → · Contrast checker → · Palette generator →

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