#CFB752#CFB752

#CFB752 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.124 H 96.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CFB752
RGBrgb(207, 183, 82)
HSLhsl(48, 57%, 57%)
HSVhsv(48, 60%, 81%)
CMYKcmyk(0%, 11.6%, 60.4%, 18.8%)
CIE-LABlab(74.66, -3.44, 53.32)
CIE-LCHlch(74.66, 53.43, 93.69°)
OKLaboklab(78.04% -0.0129 0.1229)
OKLCHoklch(78.04% 0.124 96)
XYZxyz(44.1905, 47.7436, 14.8688)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB752 #526ACF
analogous
#CF7952 #CFB752 #A9CF52
triadic
#CFB752 #52CFB7 #B752CF
tetradic
#CFB752 #52CF79 #526ACF #CF52A9
square
#CFB752 #52CF79 #526ACF #CF52A9
split-complementary
#CFB752 #52A9CF #7952CF
monochromatic
#827024 #B29A31 #CFB752 #DCCB82 #EADFB2

Accessibility & contrast

On white

1.99
#CFB752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#CFB752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB752
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB752#FFFFFF#000000##000000
##CFB7521.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B347
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#DEAAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb752;
/* rgb */ color: rgb(207, 183, 82);
/* oklch */ color: oklch(78.0% 0.124 96.0);
Tailwind
colors: {
  custom: {
    50: '#e1cc86',
    500: '#cfb752',
    950: '#000000',
  },
}
SCSS
$custom: #cfb752;
$custom-light: #e1cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb752",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 48.48,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78044,
    "c": 0.12358,
    "h": 96
  },
  "luminance": 0.47742
}

Semantic roles & 50–950 ramp

primary
#CFB752
secondary
#A5AFD8
accent
#65E048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB752

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

Preview Lab → · Contrast checker → · Palette generator →

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