#CBC65D#CBC65D

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

Color values

HEX#CBC65D
RGBrgb(203, 198, 93)
HSLhsl(57, 51%, 58%)
HSVhsv(57, 54%, 80%)
CMYKcmyk(0%, 2.5%, 54.2%, 20.4%)
CIE-LABlab(78.39, -12.03, 52.39)
CIE-LCHlch(78.39, 53.76, 102.93°)
OKLaboklab(80.95% -0.0361 0.1223)
OKLCHoklch(80.95% 0.128 106.4)
XYZxyz(46.7998, 53.8764, 18.2877)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC65D #5D62CB
analogous
#CB8F5D #CBC65D #99CB5D
triadic
#CBC65D #5DCBC6 #C65DCB
tetradic
#CBC65D #5DCB8F #5D62CB #CB5D99
square
#CBC65D #5DCB8F #5D62CB #CB5D99
split-complementary
#CBC65D #5D99CB #8F5DCB
monochromatic
#837F2A #B2AC39 #CBC65D #DAD68B #E9E7BA

Accessibility & contrast

On white

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

On black

11.77
#CBC65D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC65D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC65D#FFFFFF#000000##000000
##CBC65D1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc65d;
/* rgb */ color: rgb(203, 198, 93);
/* oklch */ color: oklch(81.0% 0.128 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd78e',
    500: '#cbc65d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc65d;
$custom-light: #ddd78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc65d",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 93
  },
  "hsl": {
    "h": 57.273,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80954,
    "c": 0.12751,
    "h": 106.4
  },
  "luminance": 0.53875
}

Semantic roles & 50–950 ramp

primary
#CBC65D
secondary
#41458B
accent
#53DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC65D

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

Preview Lab → · Contrast checker → · Palette generator →

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