#CBC65F#CBC65F

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

Color values

HEX#CBC65F
RGBrgb(203, 198, 95)
HSLhsl(57, 51%, 58%)
HSVhsv(57, 53%, 80%)
CMYKcmyk(0%, 2.5%, 53.2%, 20.4%)
CIE-LABlab(78.41, -11.86, 51.49)
CIE-LCHlch(78.41, 52.84, 102.98°)
OKLaboklab(80.98% -0.0354 0.1206)
OKLCHoklch(80.98% 0.126 106.4)
XYZxyz(46.8895, 53.9123, 18.7604)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC65F #5F64CB
analogous
#CB905F #CBC65F #9ACB5F
triadic
#CBC65F #5FCBC6 #C65FCB
tetradic
#CBC65F #5FCB90 #5F64CB #CB5F9A
square
#CBC65F #5FCB90 #5F64CB #CB5F9A
split-complementary
#CBC65F #5F9ACB #905FCB
monochromatic
#85802B #B3AD3A #CBC65F #DAD68D #E9E7BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC65F#FFFFFF#000000##000000
##CBC65F1.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)
#D5BF55
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#D8BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc65f;
/* rgb */ color: rgb(203, 198, 95);
/* oklch */ color: oklch(81.0% 0.126 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd78f',
    500: '#cbc65f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc65f;
$custom-light: #ddd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc65f",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 95
  },
  "hsl": {
    "h": 57.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80977,
    "c": 0.12563,
    "h": 106.4
  },
  "luminance": 0.53911
}

Semantic roles & 50–950 ramp

primary
#CBC65F
secondary
#42468C
accent
#54DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC65F

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

Preview Lab → · Contrast checker → · Palette generator →

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