#CFB450#CFB450

#CFB450 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.123 H 94.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CFB450
RGBrgb(207, 180, 80)
HSLhsl(47, 57%, 56%)
HSVhsv(47, 61%, 81%)
CMYKcmyk(0%, 13%, 61.4%, 18.8%)
CIE-LABlab(73.86, -2.01, 53.34)
CIE-LCHlch(73.86, 53.38, 92.15°)
OKLaboklab(77.4% -0.0091 0.1227)
OKLCHoklch(77.4% 0.123 94.2)
XYZxyz(43.5033, 46.4893, 14.2697)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB450 #506BCF
analogous
#CF7550 #CFB450 #ABCF50
triadic
#CFB450 #50CFB4 #B450CF
tetradic
#CFB450 #50CF75 #506BCF #CF50AB
square
#CFB450 #50CF75 #506BCF #CF50AB
split-complementary
#CFB450 #50ABCF #7550CF
monochromatic
#816D23 #B19631 #CFB450 #DCC980 #E9DDB0

Accessibility & contrast

On white

2.04
#CFB450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CFB450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB450
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB450#FFFFFF#000000##000000
##CFB4501.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B145
Deuteranopia (green-blind)
#CCB955
Tritanopia (blue-blind)
#DEA79E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb450;
/* rgb */ color: rgb(207, 180, 80);
/* oklch */ color: oklch(77.4% 0.123 94.2);
Tailwind
colors: {
  custom: {
    50: '#e1ca85',
    500: '#cfb450',
    950: '#000000',
  },
}
SCSS
$custom: #cfb450;
$custom-light: #e1ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb450",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 80
  },
  "hsl": {
    "h": 47.244,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77404,
    "c": 0.12301,
    "h": 94.2
  },
  "luminance": 0.46487
}

Semantic roles & 50–950 ramp

primary
#CFB450
secondary
#A3AED8
accent
#68E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB450

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

Preview Lab → · Contrast checker → · Palette generator →

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