#CBC74C#CBC74C

#CBC74C is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.0% C 0.143 H 107.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CBC74C
RGBrgb(203, 199, 76)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 63%, 80%)
CMYKcmyk(0%, 2%, 62.6%, 20.4%)
CIE-LABlab(78.50, -13.75, 60.03)
CIE-LCHlch(78.50, 61.58, 102.90°)
OKLaboklab(80.99% -0.0428 0.1364)
OKLCHoklch(80.99% 0.143 107.4)
XYZxyz(46.3581, 54.0666, 14.8300)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC74C #4C50CB
analogous
#CB874C #CBC74C #90CB4C
triadic
#CBC74C #4CCBC7 #C74CCB
tetradic
#CBC74C #4CCB87 #4C50CB #CB4C90
square
#CBC74C #4CCB87 #4C50CB #CB4C90
split-complementary
#CBC74C #4C90CB #874CCB
monochromatic
#797723 #A9A531 #CBC74C #D9D67B #E7E5AB

Accessibility & contrast

On white

1.78
#CBC74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CBC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC74C
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC74C#FFFFFF#000000##000000
##CBC74C1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03D
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc74c;
/* rgb */ color: rgb(203, 199, 76);
/* oklch */ color: oklch(81.0% 0.143 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded784',
    500: '#cbc74c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc74c;
$custom-light: #ded784;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc74c",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 58.11,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80992,
    "c": 0.14298,
    "h": 107.4
  },
  "luminance": 0.54065
}

Semantic roles & 50–950 ramp

primary
#CBC74C
secondary
#3A3C82
accent
#4EDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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