#CBCC7A#CBCC7A

#CBCC7A is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.105 H 109.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CBCC7A
RGBrgb(203, 204, 122)
HSLhsl(61, 45%, 64%)
HSVhsv(61, 40%, 80%)
CMYKcmyk(0.5%, 0%, 40.2%, 20%)
CIE-LABlab(80.34, -12.35, 40.69)
CIE-LCHlch(80.34, 42.53, 106.89°)
OKLaboklab(82.62% -0.0342 0.0988)
OKLCHoklch(82.62% 0.105 109.1)
XYZxyz(49.7350, 57.2884, 26.8464)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC7A #7B7ACC
analogous
#CCA47A #CBCC7A #A2CC7A
triadic
#CBCC7A #7ACBCC #CC7ACB
tetradic
#CBCC7A #7ACCA4 #7B7ACC #CC7AA2
square
#CBCC7A #7ACCA4 #7B7ACC #CC7AA2
split-complementary
#CBCC7A #7AA2CC #A47ACC
monochromatic
#929338 #BABB4E #CBCC7A #DCDDA6 #EEEED2

Accessibility & contrast

On white

1.69
#CBCC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CBCC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC7A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC7A#FFFFFF#000000##000000
##CBCC7A1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C674
Deuteranopia (green-blind)
#D9C97E
Tritanopia (blue-blind)
#D5C3B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcc7a;
/* rgb */ color: rgb(203, 204, 122);
/* oklch */ color: oklch(82.6% 0.105 109.1);
Tailwind
colors: {
  custom: {
    50: '#dcdba2',
    500: '#cbcc7a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc7a;
$custom-light: #dcdba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc7a",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 60.732,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82621,
    "c": 0.10456,
    "h": 109.1
  },
  "luminance": 0.57287
}

Semantic roles & 50–950 ramp

primary
#CBCC7A
secondary
#51519A
accent
#2EB82F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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