#CFB546#CFB546

#CFB546 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.132 H 95.9°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CFB546
RGBrgb(207, 181, 70)
HSLhsl(49, 59%, 54%)
HSVhsv(49, 66%, 81%)
CMYKcmyk(0%, 12.6%, 66.2%, 18.8%)
CIE-LABlab(74.03, -3.16, 57.94)
CIE-LCHlch(74.03, 58.03, 93.13°)
OKLaboklab(77.51% -0.0136 0.131)
OKLCHoklch(77.51% 0.132 95.9)
XYZxyz(43.3635, 46.7575, 12.5342)
Luminance0.4676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB546 #4660CF
analogous
#CF7146 #CFB546 #A5CF46
triadic
#CFB546 #46CFB5 #B546CF
tetradic
#CFB546 #46CF71 #4660CF #CF46A5
square
#CFB546 #46CF71 #4660CF #CF46A5
split-complementary
#CFB546 #46A5CF #7146CF
monochromatic
#7B6A20 #AB932C #CFB546 #DCC877 #E8DCA7

Accessibility & contrast

On white

2.03
#CFB546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CFB546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB546
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB546#FFFFFF#000000##000000
##CFB5461.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B138
Deuteranopia (green-blind)
#CDBA4C
Tritanopia (blue-blind)
#DFA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb546;
/* rgb */ color: rgb(207, 181, 70);
/* oklch */ color: oklch(77.5% 0.132 95.9);
Tailwind
colors: {
  custom: {
    50: '#e1ca7f',
    500: '#cfb546',
    950: '#000000',
  },
}
SCSS
$custom: #cfb546;
$custom-light: #e1ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb546",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 48.613,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77513,
    "c": 0.13168,
    "h": 95.9
  },
  "luminance": 0.46755
}

Semantic roles & 50–950 ramp

primary
#CFB546
secondary
#9BA6D5
accent
#63E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB546

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

Preview Lab → · Contrast checker → · Palette generator →

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