#CBC56E#CBC56E

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

Color values

HEX#CBC56E
RGBrgb(203, 197, 110)
HSLhsl(56, 47%, 61%)
HSVhsv(56, 46%, 80%)
CMYKcmyk(0%, 3%, 45.8%, 20.4%)
CIE-LABlab(78.32, -10.01, 44.16)
CIE-LCHlch(78.32, 45.28, 102.78°)
OKLaboklab(80.96% -0.0285 0.1058)
OKLCHoklch(80.96% 0.11 105.1)
XYZxyz(47.4104, 53.7561, 22.6274)
Luminance0.5375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC56E #6E74CB
analogous
#CB976E #CBC56E #A3CB6E
triadic
#CBC56E #6ECBC5 #C56ECB
tetradic
#CBC56E #6ECB97 #6E74CB #CB6EA3
square
#CBC56E #6ECB97 #6E74CB #CB6EA3
split-complementary
#CBC56E #6EA3CB #976ECB
monochromatic
#8C8632 #B9B242 #CBC56E #DBD79B #EBE9C8

Accessibility & contrast

On white

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

On black

11.75
#CBC56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC56E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC56E#FFFFFF#000000##000000
##CBC56E1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF67
Deuteranopia (green-blind)
#D5C472
Tritanopia (blue-blind)
#D7BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc56e;
/* rgb */ color: rgb(203, 197, 110);
/* oklch */ color: oklch(81.0% 0.110 105.1);
Tailwind
colors: {
  custom: {
    50: '#dcd699',
    500: '#cbc56e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc56e;
$custom-light: #dcd699;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc56e",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 110
  },
  "hsl": {
    "h": 56.129,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80961,
    "c": 0.10959,
    "h": 105.1
  },
  "luminance": 0.53755
}

Semantic roles & 50–950 ramp

primary
#CBC56E
secondary
#4A4F93
accent
#34BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC56E

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

Preview Lab → · Contrast checker → · Palette generator →

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