#CBC65E#CBC65E

#CBC65E is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.127 H 106.4°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CBC65E
RGBrgb(203, 198, 94)
HSLhsl(57, 51%, 58%)
HSVhsv(57, 54%, 80%)
CMYKcmyk(0%, 2.5%, 53.7%, 20.4%)
CIE-LABlab(78.40, -11.95, 51.94)
CIE-LCHlch(78.40, 53.30, 102.95°)
OKLaboklab(80.97% -0.0357 0.1214)
OKLCHoklch(80.97% 0.127 106.4)
XYZxyz(46.8444, 53.8942, 18.5225)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC65E #5E63CB
analogous
#CB8F5E #CBC65E #99CB5E
triadic
#CBC65E #5ECBC6 #C65ECB
tetradic
#CBC65E #5ECB8F #5E63CB #CB5E99
square
#CBC65E #5ECB8F #5E63CB #CB5E99
split-complementary
#CBC65E #5E99CB #8F5ECB
monochromatic
#84802B #B2AD3A #CBC65E #DAD68C #E9E7BB

Accessibility & contrast

On white

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

On black

11.78
#CBC65E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC65E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC65E#FFFFFF#000000##000000
##CBC65E1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF54
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#D8BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc65e;
/* rgb */ color: rgb(203, 198, 94);
/* oklch */ color: oklch(81.0% 0.127 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd78f',
    500: '#cbc65e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc65e;
$custom-light: #ddd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc65e",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 94
  },
  "hsl": {
    "h": 57.248,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80966,
    "c": 0.12657,
    "h": 106.4
  },
  "luminance": 0.53893
}

Semantic roles & 50–950 ramp

primary
#CBC65E
secondary
#42458B
accent
#54DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC65E

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

Preview Lab → · Contrast checker → · Palette generator →

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