#CBC261#CBC261

#CBC261 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.120 H 104.0°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CBC261
RGBrgb(203, 194, 97)
HSLhsl(55, 50%, 59%)
HSVhsv(55, 52%, 80%)
CMYKcmyk(0%, 4.4%, 52.2%, 20.4%)
CIE-LABlab(77.37, -9.66, 49.32)
CIE-LCHlch(77.37, 50.26, 101.08°)
OKLaboklab(80.16% -0.0288 0.1161)
OKLCHoklch(80.16% 0.12 104)
XYZxyz(46.0794, 52.1446, 18.9446)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC261 #616ACB
analogous
#CB8D61 #CBC261 #9FCB61
triadic
#CBC261 #61CBC2 #C261CB
tetradic
#CBC261 #61CB8D #616ACB #CB619F
square
#CBC261 #61CB8D #616ACB #CB619F
split-complementary
#CBC261 #619FCB #8D61CB
monochromatic
#867E2C #B4A93B #CBC261 #DAD48F #E9E6BD

Accessibility & contrast

On white

1.84
#CBC261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#CBC261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC261
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC261#FFFFFF#000000##000000
##CBC2611.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC58
Deuteranopia (green-blind)
#D4C166
Tritanopia (blue-blind)
#D8B7AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc261;
/* rgb */ color: rgb(203, 194, 97);
/* oklch */ color: oklch(80.2% 0.120 104.0);
Tailwind
colors: {
  custom: {
    50: '#ddd490',
    500: '#cbc261',
    950: '#000000',
  },
}
SCSS
$custom: #cbc261;
$custom-light: #ddd490;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc261",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 54.906,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80155,
    "c": 0.1196,
    "h": 104
  },
  "luminance": 0.52143
}

Semantic roles & 50–950 ramp

primary
#CBC261
secondary
#434A8D
accent
#5ADA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC261

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

Preview Lab → · Contrast checker → · Palette generator →

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