#CBC745#CBC745

#CBC745 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.9% C 0.148 H 107.6°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CBC745
RGBrgb(203, 199, 69)
HSLhsl(58, 56%, 53%)
HSVhsv(58, 66%, 80%)
CMYKcmyk(0%, 2%, 66%, 20.4%)
CIE-LABlab(78.45, -14.17, 62.82)
CIE-LCHlch(78.45, 64.40, 102.71°)
OKLaboklab(80.93% -0.0447 0.1412)
OKLCHoklch(80.93% 0.148 107.6)
XYZxyz(46.1278, 53.9745, 13.6174)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC745 #4549CB
analogous
#CB8445 #CBC745 #8CCB45
triadic
#CBC745 #45CBC7 #C745CB
tetradic
#CBC745 #45CB84 #4549CB #CB458C
square
#CBC745 #45CB84 #4549CB #CB458C
split-complementary
#CBC745 #458CCB #8445CB
monochromatic
#757221 #A5A12E #CBC745 #D8D575 #E6E4A5

Accessibility & contrast

On white

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

On black

11.79
#CBC745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC745
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC745#FFFFFF#000000##000000
##CBC7451.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#D9BAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc745;
/* rgb */ color: rgb(203, 199, 69);
/* oklch */ color: oklch(80.9% 0.148 107.6);
Tailwind
colors: {
  custom: {
    50: '#ded780',
    500: '#cbc745',
    950: '#000000',
  },
}
SCSS
$custom: #cbc745;
$custom-light: #ded780;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc745",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 58.209,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80932,
    "c": 0.14817,
    "h": 107.6
  },
  "luminance": 0.53973
}

Semantic roles & 50–950 ramp

primary
#CBC745
secondary
#37397E
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC745

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

Preview Lab → · Contrast checker → · Palette generator →

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