#CBCA7A#CBCA7A

#CBCA7A is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.102 H 107.8°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CBCA7A
RGBrgb(203, 202, 122)
HSLhsl(59, 44%, 64%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 0.5%, 39.9%, 20.4%)
CIE-LABlab(79.81, -11.34, 40.02)
CIE-LCHlch(79.81, 41.60, 105.82°)
OKLaboklab(82.2% -0.0313 0.0973)
OKLCHoklch(82.2% 0.102 107.8)
XYZxyz(49.2627, 56.3438, 26.6889)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA7A #7A7BCB
analogous
#CBA17A #CBCA7A #A3CB7A
triadic
#CBCA7A #7ACBCA #CA7ACB
tetradic
#CBCA7A #7ACBA1 #7A7BCB #CB7AA3
square
#CBCA7A #7ACBA1 #7A7BCB #CB7AA3
split-complementary
#CBCA7A #7AA3CB #A17ACB
monochromatic
#929139 #BAB84E #CBCA7A #DCDCA6 #EDEDD2

Accessibility & contrast

On white

1.71
#CBCA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CBCA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA7A
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA7A#FFFFFF#000000##000000
##CBCA7A1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C474
Deuteranopia (green-blind)
#D8C77E
Tritanopia (blue-blind)
#D6C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca7a;
/* rgb */ color: rgb(203, 202, 122);
/* oklch */ color: oklch(82.2% 0.102 107.8);
Tailwind
colors: {
  custom: {
    50: '#dcdaa1',
    500: '#cbca7a',
    950: '#000000',
  },
}
SCSS
$custom: #cbca7a;
$custom-light: #dcdaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca7a",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 59.259,
    "s": 43.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82197,
    "c": 0.10219,
    "h": 107.8
  },
  "luminance": 0.56343
}

Semantic roles & 50–950 ramp

primary
#CBCA7A
secondary
#515298
accent
#30B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBCA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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