#CFB050#CFB050

#CFB050 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.120 H 91.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CFB050
RGBrgb(207, 176, 80)
HSLhsl(45, 57%, 56%)
HSVhsv(45, 61%, 81%)
CMYKcmyk(0%, 15%, 61.4%, 18.8%)
CIE-LABlab(72.82, 0.10, 52.19)
CIE-LCHlch(72.82, 52.19, 89.89°)
OKLaboklab(76.59% -0.003 0.1202)
OKLCHoklch(76.59% 0.12 91.4)
XYZxyz(42.7074, 44.8975, 14.0044)
Luminance0.4490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB050 #506FCF
analogous
#CF7150 #CFB050 #AFCF50
triadic
#CFB050 #50CFB0 #B050CF
tetradic
#CFB050 #50CF71 #506FCF #CF50AF
square
#CFB050 #50CF71 #506FCF #CF50AF
split-complementary
#CFB050 #50AFCF #7150CF
monochromatic
#816A23 #B19231 #CFB050 #DCC680 #E9DBB0

Accessibility & contrast

On white

2.10
#CFB050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CFB050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB050
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB050#FFFFFF#000000##000000
##CFB0501.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE46
Deuteranopia (green-blind)
#C9B654
Tritanopia (blue-blind)
#DFA39B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb050;
/* rgb */ color: rgb(207, 176, 80);
/* oklch */ color: oklch(76.6% 0.120 91.4);
Tailwind
colors: {
  custom: {
    50: '#e1c785',
    500: '#cfb050',
    950: '#000000',
  },
}
SCSS
$custom: #cfb050;
$custom-light: #e1c785;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb050",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 45.354,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76585,
    "c": 0.12026,
    "h": 91.4
  },
  "luminance": 0.44895
}

Semantic roles & 50–950 ramp

primary
#CFB050
secondary
#A3B0D8
accent
#6DE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB050

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

Preview Lab → · Contrast checker → · Palette generator →

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