#C0B838#C0B838

#C0B838 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.7% C 0.144 H 105.8°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C0B838
RGBrgb(192, 184, 56)
HSLhsl(56, 55%, 49%)
HSVhsv(56, 71%, 75%)
CMYKcmyk(0%, 4.2%, 70.8%, 24.7%)
CIE-LABlab(73.40, -11.92, 62.45)
CIE-LCHlch(73.40, 63.58, 100.80°)
OKLaboklab(76.66% -0.0391 0.1386)
OKLCHoklch(76.66% 0.144 105.8)
XYZxyz(39.5941, 45.7744, 10.4903)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B838 #3840C0
analogous
#C07438 #C0B838 #84C038
triadic
#C0B838 #38C0B8 #B838C0
tetradic
#C0B838 #38C074 #3840C0 #C03884
square
#C0B838 #38C074 #3840C0 #C03884
split-complementary
#C0B838 #3884C0 #7438C0
monochromatic
#615D1C #918B2A #C0B838 #D2CB64 #DFDB93

Accessibility & contrast

On white

2.07
#C0B838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C0B838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B838
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B838#FFFFFF#000000##000000
##C0B8381.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B123
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#CEAC9F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c0b838;
/* rgb */ color: rgb(192, 184, 56);
/* oklch */ color: oklch(76.7% 0.144 105.8);
Tailwind
colors: {
  custom: {
    50: '#d7cd77',
    500: '#c0b838',
    950: '#000000',
  },
}
SCSS
$custom: #c0b838;
$custom-light: #d7cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b838",
  "rgb": {
    "r": 192,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 56.471,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76659,
    "c": 0.14403,
    "h": 105.8
  },
  "luminance": 0.45773
}

Semantic roles & 50–950 ramp

primary
#C0B838
secondary
#898DCB
accent
#52DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B838

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

Preview Lab → · Contrast checker → · Palette generator →

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