#CBC74B#CBC74B

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

Color values

HEX#CBC74B
RGBrgb(203, 199, 75)
HSLhsl(58, 55%, 55%)
HSVhsv(58, 63%, 80%)
CMYKcmyk(0%, 2%, 63.1%, 20.4%)
CIE-LABlab(78.49, -13.81, 60.44)
CIE-LCHlch(78.49, 62.00, 102.87°)
OKLaboklab(80.98% -0.0431 0.1371)
OKLCHoklch(80.98% 0.144 107.4)
XYZxyz(46.3236, 54.0528, 14.6483)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC74B #4B4FCB
analogous
#CB874B #CBC74B #8FCB4B
triadic
#CBC74B #4BCBC7 #C74BCB
tetradic
#CBC74B #4BCB87 #4B4FCB #CB4B8F
square
#CBC74B #4BCB87 #4B4FCB #CB4B8F
split-complementary
#CBC74B #4B8FCB #874BCB
monochromatic
#797623 #A8A431 #CBC74B #D9D67A #E6E5AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC74B#FFFFFF#000000##000000
##CBC74B1.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)
#D7C03B
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#D9BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc74b;
/* rgb */ color: rgb(203, 199, 75);
/* oklch */ color: oklch(81.0% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#ded783',
    500: '#cbc74b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc74b;
$custom-light: #ded783;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc74b",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 58.125,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80983,
    "c": 0.14375,
    "h": 107.4
  },
  "luminance": 0.54051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC74B

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

Preview Lab → · Contrast checker → · Palette generator →

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