#CFB047#CFB047

#CFB047 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.127 H 92.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CFB047
RGBrgb(207, 176, 71)
HSLhsl(46, 59%, 55%)
HSVhsv(46, 66%, 81%)
CMYKcmyk(0%, 15%, 65.7%, 18.8%)
CIE-LABlab(72.74, -0.48, 56.14)
CIE-LCHlch(72.74, 56.14, 90.49°)
OKLaboklab(76.49% -0.0057 0.1273)
OKLCHoklch(76.49% 0.127 92.6)
XYZxyz(42.3969, 44.7733, 12.3690)
Luminance0.4477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB047 #4766CF
analogous
#CF6C47 #CFB047 #AACF47
triadic
#CFB047 #47CFB0 #B047CF
tetradic
#CFB047 #47CF6C #4766CF #CF47AA
square
#CFB047 #47CF6C #4766CF #CF47AA
split-complementary
#CFB047 #47AACF #6C47CF
monochromatic
#7B6720 #AC8F2D #CFB047 #DCC578 #E8DAA8

Accessibility & contrast

On white

2.11
#CFB047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CFB047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB047
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB047#FFFFFF#000000##000000
##CFB0471.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3A
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#DFA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfb047;
/* rgb */ color: rgb(207, 176, 71);
/* oklch */ color: oklch(76.5% 0.127 92.6);
Tailwind
colors: {
  custom: {
    50: '#e1c77f',
    500: '#cfb047',
    950: '#000000',
  },
}
SCSS
$custom: #cfb047;
$custom-light: #e1c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb047",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 46.324,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76494,
    "c": 0.12745,
    "h": 92.6
  },
  "luminance": 0.44771
}

Semantic roles & 50–950 ramp

primary
#CFB047
secondary
#9CA9D6
accent
#69E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB047

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

Preview Lab → · Contrast checker → · Palette generator →

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