#CBC45F#CBC45F

#CBC45F is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.124 H 105.2°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CBC45F
RGBrgb(203, 196, 95)
HSLhsl(56, 51%, 58%)
HSVhsv(56, 53%, 80%)
CMYKcmyk(0%, 3.4%, 53.2%, 20.4%)
CIE-LABlab(77.88, -10.85, 50.87)
CIE-LCHlch(77.88, 52.01, 102.04°)
OKLaboklab(80.55% -0.0325 0.1192)
OKLCHoklch(80.55% 0.124 105.2)
XYZxyz(46.4354, 53.0040, 18.6090)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC45F #5F66CB
analogous
#CB8E5F #CBC45F #9CCB5F
triadic
#CBC45F #5FCBC4 #C45FCB
tetradic
#CBC45F #5FCB8E #5F66CB #CB5F9C
square
#CBC45F #5FCB8E #5F66CB #CB5F9C
split-complementary
#CBC45F #5F9CCB #8E5FCB
monochromatic
#857F2B #B3AB3A #CBC45F #DAD58D #E9E6BB

Accessibility & contrast

On white

1.81
#CBC45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CBC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC45F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC45F#FFFFFF#000000##000000
##CBC45F1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#D5C364
Tritanopia (blue-blind)
#D8B9AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc45f;
/* rgb */ color: rgb(203, 196, 95);
/* oklch */ color: oklch(80.6% 0.124 105.2);
Tailwind
colors: {
  custom: {
    50: '#ddd58f',
    500: '#cbc45f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc45f;
$custom-light: #ddd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc45f",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 56.111,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80553,
    "c": 0.12355,
    "h": 105.2
  },
  "luminance": 0.53003
}

Semantic roles & 50–950 ramp

primary
#CBC45F
secondary
#42478C
accent
#57DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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