#CFB748#CFB748

#CFB748 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.9% C 0.132 H 97.0°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CFB748
RGBrgb(207, 183, 72)
HSLhsl(49, 58%, 55%)
HSVhsv(49, 65%, 81%)
CMYKcmyk(0%, 11.6%, 65.2%, 18.8%)
CIE-LABlab(74.57, -4.09, 57.66)
CIE-LCHlch(74.57, 57.80, 94.06°)
OKLaboklab(77.94% -0.016 0.1307)
OKLCHoklch(77.94% 0.132 97)
XYZxyz(43.8373, 47.6024, 13.0088)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB748 #4860CF
analogous
#CF7348 #CFB748 #A4CF48
triadic
#CFB748 #48CFB7 #B748CF
tetradic
#CFB748 #48CF73 #4860CF #CF48A4
square
#CFB748 #48CF73 #4860CF #CF48A4
split-complementary
#CFB748 #48A4CF #7348CF
monochromatic
#7C6C21 #AD962D #CFB748 #DCCA78 #E8DDA9

Accessibility & contrast

On white

2.00
#CFB748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CFB748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB748
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB748#FFFFFF#000000##000000
##CFB7481.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33A
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#DFAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb748;
/* rgb */ color: rgb(207, 183, 72);
/* oklch */ color: oklch(77.9% 0.132 97.0);
Tailwind
colors: {
  custom: {
    50: '#e1cc80',
    500: '#cfb748',
    950: '#000000',
  },
}
SCSS
$custom: #cfb748;
$custom-light: #e1cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb748",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 72
  },
  "hsl": {
    "h": 49.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77945,
    "c": 0.13167,
    "h": 97
  },
  "luminance": 0.476
}

Semantic roles & 50–950 ramp

primary
#CFB748
secondary
#9DA7D6
accent
#62E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB748

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

Preview Lab → · Contrast checker → · Palette generator →

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