#CBC074#CBC074

#CBC074 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.098 H 101.1°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CBC074
RGBrgb(203, 192, 116)
HSLhsl(52, 46%, 63%)
HSVhsv(52, 43%, 80%)
CMYKcmyk(0%, 5.4%, 42.9%, 20.4%)
CIE-LABlab(77.08, -6.84, 39.61)
CIE-LCHlch(77.08, 40.19, 99.80°)
OKLaboklab(80% -0.0189 0.096)
OKLCHoklch(80% 0.098 101.1)
XYZxyz(46.6316, 51.6581, 24.0342)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC074 #747FCB
analogous
#CB9574 #CBC074 #AACB74
triadic
#CBC074 #74CBC0 #C074CB
tetradic
#CBC074 #74CB95 #747FCB #CB74AA
square
#CBC074 #74CB95 #747FCB #CB74AA
split-complementary
#CBC074 #74AACB #9574CB
monochromatic
#8F8436 #BAAC47 #CBC074 #DCD4A1 #ECE8CD

Accessibility & contrast

On white

1.85
#CBC074 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CBC074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC074
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC074#FFFFFF#000000##000000
##CBC0741.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC6E
Deuteranopia (green-blind)
#D0C077
Tritanopia (blue-blind)
#D7B6AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc074;
/* rgb */ color: rgb(203, 192, 116);
/* oklch */ color: oklch(80.0% 0.098 101.1);
Tailwind
colors: {
  custom: {
    50: '#dcd29d',
    500: '#cbc074',
    950: '#000000',
  },
}
SCSS
$custom: #cbc074;
$custom-light: #dcd29d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc074",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 116
  },
  "hsl": {
    "h": 52.414,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.80001,
    "c": 0.09784,
    "h": 101.1
  },
  "luminance": 0.51657
}

Semantic roles & 50–950 ramp

primary
#CBC074
secondary
#4D5796
accent
#3EB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC074

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

Preview Lab → · Contrast checker → · Palette generator →

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