#CBC74A#CBC74A

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

Color values

HEX#CBC74A
RGBrgb(203, 199, 74)
HSLhsl(58, 55%, 54%)
HSVhsv(58, 64%, 80%)
CMYKcmyk(0%, 2%, 63.5%, 20.4%)
CIE-LABlab(78.48, -13.88, 60.84)
CIE-LCHlch(78.48, 62.41, 102.85°)
OKLaboklab(80.97% -0.0434 0.1379)
OKLCHoklch(80.97% 0.145 107.5)
XYZxyz(46.2896, 54.0392, 14.4695)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC74A #4A4ECB
analogous
#CB874A #CBC74A #8ECB4A
triadic
#CBC74A #4ACBC7 #C74ACB
tetradic
#CBC74A #4ACB87 #4A4ECB #CB4A8E
square
#CBC74A #4ACB87 #4A4ECB #CB4A8E
split-complementary
#CBC74A #4A8ECB #874ACB
monochromatic
#787523 #A8A430 #CBC74A #D9D67A #E6E4A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC74A#FFFFFF#000000##000000
##CBC74A1.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)
#D7C03A
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc74a;
/* rgb */ color: rgb(203, 199, 74);
/* oklch */ color: oklch(81.0% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#ded782',
    500: '#cbc74a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc74a;
$custom-light: #ded782;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc74a",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 58.14,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80974,
    "c": 0.14451,
    "h": 107.5
  },
  "luminance": 0.54038
}

Semantic roles & 50–950 ramp

primary
#CBC74A
secondary
#393B80
accent
#4EDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC74A

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

Preview Lab → · Contrast checker → · Palette generator →

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