#CFB548#CFB548

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

Color values

HEX#CFB548
RGBrgb(207, 181, 72)
HSLhsl(48, 58%, 55%)
HSVhsv(48, 65%, 81%)
CMYKcmyk(0%, 12.6%, 65.2%, 18.8%)
CIE-LABlab(74.05, -3.05, 57.10)
CIE-LCHlch(74.05, 57.18, 93.05°)
OKLaboklab(77.53% -0.013 0.1295)
OKLCHoklch(77.53% 0.13 95.7)
XYZxyz(43.4277, 46.7832, 12.8722)
Luminance0.4678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB548 #4862CF
analogous
#CF7148 #CFB548 #A6CF48
triadic
#CFB548 #48CFB5 #B548CF
tetradic
#CFB548 #48CF71 #4862CF #CF48A6
square
#CFB548 #48CF71 #4862CF #CF48A6
split-complementary
#CFB548 #48A6CF #7148CF
monochromatic
#7C6A21 #AD942D #CFB548 #DCC978 #E8DCA9

Accessibility & contrast

On white

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

On black

10.36
#CFB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB548
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB548#FFFFFF#000000##000000
##CFB5481.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb548;
/* rgb */ color: rgb(207, 181, 72);
/* oklch */ color: oklch(77.5% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#e1ca80',
    500: '#cfb548',
    950: '#000000',
  },
}
SCSS
$custom: #cfb548;
$custom-light: #e1ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb548",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 48.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77531,
    "c": 0.13016,
    "h": 95.7
  },
  "luminance": 0.46781
}

Semantic roles & 50–950 ramp

primary
#CFB548
secondary
#9DA8D6
accent
#64E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB548

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

Preview Lab → · Contrast checker → · Palette generator →

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