#CFBE7C#CFBE7C

#CFBE7C is a light, moderate yellow. Relative luminance 0.515; OKLCH L 80.1% C 0.087 H 95.4°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CFBE7C
RGBrgb(207, 190, 124)
HSLhsl(48, 46%, 65%)
HSVhsv(48, 40%, 81%)
CMYKcmyk(0%, 8.2%, 40.1%, 18.8%)
CIE-LABlab(77.01, -3.33, 35.50)
CIE-LCHlch(77.01, 35.65, 95.36°)
OKLaboklab(80.07% -0.0082 0.087)
OKLCHoklch(80.07% 0.087 95.4)
XYZxyz(47.7847, 51.5491, 26.4977)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE7C #7C8DCF
analogous
#CF957C #CFBE7C #B6CF7C
triadic
#CFBE7C #7CCFBE #BE7CCF
tetradic
#CFBE7C #7CCF95 #7C8DCF #CF7CB6
square
#CFBE7C #7CCF95 #7C8DCF #CF7CB6
split-complementary
#CFBE7C #7CB6CF #957CCF
monochromatic
#998538 #BFA84F #CFBE7C #DFD4A9 #F0EAD6

Accessibility & contrast

On white

1.86
#CFBE7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CFBE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE7C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE7C#FFFFFF#000000##000000
##CFBE7C1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB77
Deuteranopia (green-blind)
#CFC17E
Tritanopia (blue-blind)
#DBB5AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbe7c;
/* rgb */ color: rgb(207, 190, 124);
/* oklch */ color: oklch(80.1% 0.087 95.4);
Tailwind
colors: {
  custom: {
    50: '#dfd1a2',
    500: '#cfbe7c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe7c;
$custom-light: #dfd1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe7c",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 124
  },
  "hsl": {
    "h": 47.711,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80069,
    "c": 0.08742,
    "h": 95.4
  },
  "luminance": 0.51548
}

Semantic roles & 50–950 ramp

primary
#CFBE7C
secondary
#51619E
accent
#49BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFBE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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