#CFB947#CFB947

#CFB947 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.134 H 98.3°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CFB947
RGBrgb(207, 185, 71)
HSLhsl(50, 59%, 55%)
HSVhsv(50, 66%, 81%)
CMYKcmyk(0%, 10.6%, 65.7%, 18.8%)
CIE-LABlab(75.09, -5.19, 58.63)
CIE-LCHlch(75.09, 58.86, 95.06°)
OKLaboklab(78.35% -0.0193 0.1326)
OKLCHoklch(78.35% 0.134 98.3)
XYZxyz(44.2204, 48.4203, 12.9768)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB947 #475DCF
analogous
#CF7547 #CFB947 #A1CF47
triadic
#CFB947 #47CFB9 #B947CF
tetradic
#CFB947 #47CF75 #475DCF #CF47A1
square
#CFB947 #47CF75 #475DCF #CF47A1
split-complementary
#CFB947 #47A1CF #7547CF
monochromatic
#7B6D20 #AC972D #CFB947 #DCCB78 #E8DEA8

Accessibility & contrast

On white

1.97
#CFB947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CFB947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB947
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB947#FFFFFF#000000##000000
##CFB9471.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#DFACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb947;
/* rgb */ color: rgb(207, 185, 71);
/* oklch */ color: oklch(78.3% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#e1cd80',
    500: '#cfb947',
    950: '#000000',
  },
}
SCSS
$custom: #cfb947;
$custom-light: #e1cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb947",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 71
  },
  "hsl": {
    "h": 50.294,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7835,
    "c": 0.13398,
    "h": 98.3
  },
  "luminance": 0.48418
}

Semantic roles & 50–950 ramp

primary
#CFB947
secondary
#9CA5D6
accent
#5FE246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB947

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

Preview Lab → · Contrast checker → · Palette generator →

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