#CFBC74#CFBC74

#CFBC74 is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.5% C 0.095 H 95.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CFBC74
RGBrgb(207, 188, 116)
HSLhsl(47, 49%, 63%)
HSVhsv(47, 44%, 81%)
CMYKcmyk(0%, 9.2%, 44%, 18.8%)
CIE-LABlab(76.37, -3.13, 38.79)
CIE-LCHlch(76.37, 38.92, 94.62°)
OKLaboklab(79.53% -0.0084 0.0941)
OKLCHoklch(79.53% 0.095 95.1)
XYZxyz(46.8690, 50.4945, 23.7972)
Luminance0.5049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC74 #7487CF
analogous
#CF8E74 #CFBC74 #B4CF74
triadic
#CFBC74 #74CFBC #BC74CF
tetradic
#CFBC74 #74CF8E #7487CF #CF74B4
square
#CFBC74 #74CF8E #7487CF #CF74B4
split-complementary
#CFBC74 #74B4CF #8E74CF
monochromatic
#958133 #BFA647 #CFBC74 #DFD2A1 #EEE8CF

Accessibility & contrast

On white

1.89
#CFBC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#CFBC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC74
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC74#FFFFFF#000000##000000
##CFBC741.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96E
Deuteranopia (green-blind)
#CFBF77
Tritanopia (blue-blind)
#DCB2AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbc74;
/* rgb */ color: rgb(207, 188, 116);
/* oklch */ color: oklch(79.5% 0.095 95.1);
Tailwind
colors: {
  custom: {
    50: '#dfd09d',
    500: '#cfbc74',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc74;
$custom-light: #dfd09d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc74",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 116
  },
  "hsl": {
    "h": 47.473,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.79526,
    "c": 0.0945,
    "h": 95.1
  },
  "luminance": 0.50493
}

Semantic roles & 50–950 ramp

primary
#CFBC74
secondary
#4C5D9B
accent
#48BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130E
muted
#84837F

Preview Lab

Preview with #CFBC74

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

Preview Lab → · Contrast checker → · Palette generator →

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