#CBC56F#CBC56F

#CBC56F is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.109 H 105.0°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CBC56F
RGBrgb(203, 197, 111)
HSLhsl(56, 47%, 62%)
HSVhsv(56, 45%, 80%)
CMYKcmyk(0%, 3%, 45.3%, 20.4%)
CIE-LABlab(78.33, -9.92, 43.68)
CIE-LCHlch(78.33, 44.79, 102.79°)
OKLaboklab(80.98% -0.0282 0.1048)
OKLCHoklch(80.98% 0.109 105)
XYZxyz(47.4651, 53.7780, 22.9157)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC56F #6F75CB
analogous
#CB976F #CBC56F #A3CB6F
triadic
#CBC56F #6FCBC5 #C56FCB
tetradic
#CBC56F #6FCB97 #6F75CB #CB6FA3
square
#CBC56F #6FCB97 #6F75CB #CB6FA3
split-complementary
#CBC56F #6FA3CB #976FCB
monochromatic
#8D8733 #BAB243 #CBC56F #DBD79C #EBE9C9

Accessibility & contrast

On white

1.79
#CBC56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CBC56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC56F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC56F#FFFFFF#000000##000000
##CBC56F1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF68
Deuteranopia (green-blind)
#D5C473
Tritanopia (blue-blind)
#D7BBB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc56f;
/* rgb */ color: rgb(203, 197, 111);
/* oklch */ color: oklch(81.0% 0.109 105.0);
Tailwind
colors: {
  custom: {
    50: '#dcd69a',
    500: '#cbc56f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc56f;
$custom-light: #dcd69a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc56f",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 111
  },
  "hsl": {
    "h": 56.087,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80976,
    "c": 0.10853,
    "h": 105
  },
  "luminance": 0.53777
}

Semantic roles & 50–950 ramp

primary
#CBC56F
secondary
#4B4F94
accent
#35BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC56F

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

Preview Lab → · Contrast checker → · Palette generator →

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