#CFB652#CFB652

#CFB652 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.123 H 95.3°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#CFB652
RGBrgb(207, 182, 82)
HSLhsl(48, 57%, 57%)
HSVhsv(48, 60%, 81%)
CMYKcmyk(0%, 12.1%, 60.4%, 18.8%)
CIE-LABlab(74.40, -2.92, 53.03)
CIE-LCHlch(74.40, 53.11, 93.15°)
OKLaboklab(77.84% -0.0114 0.1223)
OKLCHoklch(77.84% 0.123 95.3)
XYZxyz(43.9849, 47.3326, 14.8003)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB652 #526BCF
analogous
#CF7852 #CFB652 #AACF52
triadic
#CFB652 #52CFB6 #B652CF
tetradic
#CFB652 #52CF78 #526BCF #CF52AA
square
#CFB652 #52CF78 #526BCF #CF52AA
split-complementary
#CFB652 #52AACF #7852CF
monochromatic
#827024 #B29931 #CFB652 #DCCA82 #EADEB2

Accessibility & contrast

On white

2.01
#CFB652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#CFB652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB652
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB652#FFFFFF#000000##000000
##CFB6521.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B247
Deuteranopia (green-blind)
#CDBA57
Tritanopia (blue-blind)
#DEA9A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb652;
/* rgb */ color: rgb(207, 182, 82);
/* oklch */ color: oklch(77.8% 0.123 95.3);
Tailwind
colors: {
  custom: {
    50: '#e1cb86',
    500: '#cfb652',
    950: '#000000',
  },
}
SCSS
$custom: #cfb652;
$custom-light: #e1cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb652",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 48,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77838,
    "c": 0.12281,
    "h": 95.3
  },
  "luminance": 0.4733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB652

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

Preview Lab → · Contrast checker → · Palette generator →

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