#CFB048#CFB048

#CFB048 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.127 H 92.5°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CFB048
RGBrgb(207, 176, 72)
HSLhsl(46, 58%, 55%)
HSVhsv(46, 65%, 81%)
CMYKcmyk(0%, 15%, 65.2%, 18.8%)
CIE-LABlab(72.75, -0.42, 55.71)
CIE-LCHlch(72.75, 55.72, 90.43°)
OKLaboklab(76.5% -0.0054 0.1266)
OKLCHoklch(76.5% 0.127 92.5)
XYZxyz(42.4292, 44.7863, 12.5394)
Luminance0.4478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB048 #4867CF
analogous
#CF6C48 #CFB048 #ABCF48
triadic
#CFB048 #48CFB0 #B048CF
tetradic
#CFB048 #48CF6C #4867CF #CF48AB
square
#CFB048 #48CF6C #4867CF #CF48AB
split-complementary
#CFB048 #48ABCF #6C48CF
monochromatic
#7C6721 #AD8F2D #CFB048 #DCC578 #E8DAA9

Accessibility & contrast

On white

2.11
#CFB048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#CFB048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB048
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB048#FFFFFF#000000##000000
##CFB0481.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3C
Deuteranopia (green-blind)
#CAB64D
Tritanopia (blue-blind)
#DFA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfb048;
/* rgb */ color: rgb(207, 176, 72);
/* oklch */ color: oklch(76.5% 0.127 92.5);
Tailwind
colors: {
  custom: {
    50: '#e1c780',
    500: '#cfb048',
    950: '#000000',
  },
}
SCSS
$custom: #cfb048;
$custom-light: #e1c780;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb048",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 46.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76504,
    "c": 0.12669,
    "h": 92.5
  },
  "luminance": 0.44784
}

Semantic roles & 50–950 ramp

primary
#CFB048
secondary
#9DAAD6
accent
#6AE246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB048

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

Preview Lab → · Contrast checker → · Palette generator →

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