#C0B338#C0B338

#C0B338 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.140 H 103.2°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C0B338
RGBrgb(192, 179, 56)
HSLhsl(54, 55%, 49%)
HSVhsv(54, 71%, 75%)
CMYKcmyk(0%, 6.8%, 70.8%, 24.7%)
CIE-LABlab(72.05, -9.34, 61.13)
CIE-LCHlch(72.05, 61.84, 98.69°)
OKLaboklab(75.59% -0.0318 0.1358)
OKLCHoklch(75.59% 0.14 103.2)
XYZxyz(38.5738, 43.7338, 10.1502)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B338 #3845C0
analogous
#C06F38 #C0B338 #89C038
triadic
#C0B338 #38C0B3 #B338C0
tetradic
#C0B338 #38C06F #3845C0 #C03889
square
#C0B338 #38C06F #3845C0 #C03889
split-complementary
#C0B338 #3889C0 #6F38C0
monochromatic
#615B1C #91872A #C0B338 #D2C764 #DFD893

Accessibility & contrast

On white

2.15
#C0B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#C0B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B338
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B338#FFFFFF#000000##000000
##C0B3381.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#CEA79B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b338;
/* rgb */ color: rgb(192, 179, 56);
/* oklch */ color: oklch(75.6% 0.140 103.2);
Tailwind
colors: {
  custom: {
    50: '#d7c976',
    500: '#c0b338',
    950: '#000000',
  },
}
SCSS
$custom: #c0b338;
$custom-light: #d7c976;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b338",
  "rgb": {
    "r": 192,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 54.265,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75586,
    "c": 0.1395,
    "h": 103.2
  },
  "luminance": 0.43732
}

Semantic roles & 50–950 ramp

primary
#C0B338
secondary
#898FCB
accent
#58DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B338

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

Preview Lab → · Contrast checker → · Palette generator →

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