#CBC74E#CBC74E

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

Color values

HEX#CBC74E
RGBrgb(203, 199, 78)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 62%, 80%)
CMYKcmyk(0%, 2%, 61.6%, 20.4%)
CIE-LABlab(78.52, -13.62, 59.21)
CIE-LCHlch(78.52, 60.75, 102.96°)
OKLaboklab(81.01% -0.0422 0.135)
OKLCHoklch(81.01% 0.141 107.4)
XYZxyz(46.4287, 54.0948, 15.2019)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC74E #4E52CB
analogous
#CB884E #CBC74E #90CB4E
triadic
#CBC74E #4ECBC7 #C74ECB
tetradic
#CBC74E #4ECB88 #4E52CB #CB4E90
square
#CBC74E #4ECB88 #4E52CB #CB4E90
split-complementary
#CBC74E #4E90CB #884ECB
monochromatic
#7B7824 #AAA632 #CBC74E #D9D67D #E7E5AD

Accessibility & contrast

On white

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

On black

11.82
#CBC74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC74E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC74E#FFFFFF#000000##000000
##CBC74E1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03F
Deuteranopia (green-blind)
#D9C455
Tritanopia (blue-blind)
#D9BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc74e;
/* rgb */ color: rgb(203, 199, 78);
/* oklch */ color: oklch(81.0% 0.141 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded785',
    500: '#cbc74e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc74e;
$custom-light: #ded785;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc74e",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 58.08,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8101,
    "c": 0.14141,
    "h": 107.4
  },
  "luminance": 0.54093
}

Semantic roles & 50–950 ramp

primary
#CBC74E
secondary
#3A3D83
accent
#4FDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC74E

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

Preview Lab → · Contrast checker → · Palette generator →

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