#CFB848#CFB848

#CFB848 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.132 H 97.6°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CFB848
RGBrgb(207, 184, 72)
HSLhsl(50, 58%, 55%)
HSVhsv(50, 65%, 81%)
CMYKcmyk(0%, 11.1%, 65.2%, 18.8%)
CIE-LABlab(74.84, -4.61, 57.93)
CIE-LCHlch(74.84, 58.12, 94.55°)
OKLaboklab(78.15% -0.0175 0.1313)
OKLCHoklch(78.15% 0.132 97.6)
XYZxyz(44.0443, 48.0164, 13.0778)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB848 #485FCF
analogous
#CF7548 #CFB848 #A2CF48
triadic
#CFB848 #48CFB8 #B848CF
tetradic
#CFB848 #48CF75 #485FCF #CF48A2
square
#CFB848 #48CF75 #485FCF #CF48A2
split-complementary
#CFB848 #48A2CF #7548CF
monochromatic
#7C6C21 #AD972D #CFB848 #DCCB78 #E8DEA9

Accessibility & contrast

On white

1.98
#CFB848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CFB848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB848
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB848#FFFFFF#000000##000000
##CFB8481.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43A
Deuteranopia (green-blind)
#CFBC4E
Tritanopia (blue-blind)
#DFABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb848;
/* rgb */ color: rgb(207, 184, 72);
/* oklch */ color: oklch(78.2% 0.132 97.6);
Tailwind
colors: {
  custom: {
    50: '#e1cd80',
    500: '#cfb848',
    950: '#000000',
  },
}
SCSS
$custom: #cfb848;
$custom-light: #e1cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb848",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 49.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78152,
    "c": 0.13244,
    "h": 97.6
  },
  "luminance": 0.48014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB848

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

Preview Lab → · Contrast checker → · Palette generator →

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