#CBC95F#CBC95F

#CBC95F is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.129 H 108.0°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CBC95F
RGBrgb(203, 201, 95)
HSLhsl(59, 51%, 58%)
HSVhsv(59, 53%, 80%)
CMYKcmyk(0%, 1%, 53.2%, 20.4%)
CIE-LABlab(79.21, -13.38, 52.41)
CIE-LCHlch(79.21, 54.10, 104.32°)
OKLaboklab(81.62% -0.0397 0.1226)
OKLCHoklch(81.62% 0.129 108)
XYZxyz(47.5821, 55.2973, 18.9912)
Luminance0.5530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC95F #5F61CB
analogous
#CB935F #CBC95F #97CB5F
triadic
#CBC95F #5FCBC9 #C95FCB
tetradic
#CBC95F #5FCB93 #5F61CB #CB5F97
square
#CBC95F #5FCB93 #5F61CB #CB5F97
split-complementary
#CBC95F #5F97CB #935FCB
monochromatic
#85832B #B3B03A #CBC95F #DAD98D #E9E8BB

Accessibility & contrast

On white

1.74
#CBC95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CBC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC95F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC95F#FFFFFF#000000##000000
##CBC95F1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C255
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#D8BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc95f;
/* rgb */ color: rgb(203, 201, 95);
/* oklch */ color: oklch(81.6% 0.129 108.0);
Tailwind
colors: {
  custom: {
    50: '#ddd98f',
    500: '#cbc95f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc95f;
$custom-light: #ddd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc95f",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 58.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81616,
    "c": 0.12883,
    "h": 108
  },
  "luminance": 0.55296
}

Semantic roles & 50–950 ramp

primary
#CBC95F
secondary
#42448C
accent
#50DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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