#C0B438#C0B438

#C0B438 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.8% C 0.140 H 103.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#C0B438
RGBrgb(192, 180, 56)
HSLhsl(55, 55%, 49%)
HSVhsv(55, 71%, 75%)
CMYKcmyk(0%, 6.2%, 70.8%, 24.7%)
CIE-LABlab(72.32, -9.86, 61.39)
CIE-LCHlch(72.32, 62.18, 99.12°)
OKLaboklab(75.8% -0.0333 0.1364)
OKLCHoklch(75.8% 0.14 103.7)
XYZxyz(38.7749, 44.1361, 10.2173)
Luminance0.4414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B438 #3844C0
analogous
#C07038 #C0B438 #88C038
triadic
#C0B438 #38C0B4 #B438C0
tetradic
#C0B438 #38C070 #3844C0 #C03888
square
#C0B438 #38C070 #3844C0 #C03888
split-complementary
#C0B438 #3888C0 #7038C0
monochromatic
#615B1C #91882A #C0B438 #D2C864 #DFD993

Accessibility & contrast

On white

2.14
#C0B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#C0B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B438
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B438#FFFFFF#000000##000000
##C0B4381.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE24
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#CEA89B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b438;
/* rgb */ color: rgb(192, 180, 56);
/* oklch */ color: oklch(75.8% 0.140 103.7);
Tailwind
colors: {
  custom: {
    50: '#d7ca77',
    500: '#c0b438',
    950: '#000000',
  },
}
SCSS
$custom: #c0b438;
$custom-light: #d7ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b438",
  "rgb": {
    "r": 192,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 54.706,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.758,
    "c": 0.14038,
    "h": 103.7
  },
  "luminance": 0.44135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0B438

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

Preview Lab → · Contrast checker → · Palette generator →

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