#CFB448#CFB448

#CFB448 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.129 H 95.1°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#CFB448
RGBrgb(207, 180, 72)
HSLhsl(48, 58%, 55%)
HSVhsv(48, 65%, 81%)
CMYKcmyk(0%, 13%, 65.2%, 18.8%)
CIE-LABlab(73.79, -2.52, 56.82)
CIE-LCHlch(73.79, 56.88, 92.54°)
OKLaboklab(77.33% -0.0115 0.1289)
OKLCHoklch(77.33% 0.129 95.1)
XYZxyz(43.2251, 46.3780, 12.8047)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB448 #4863CF
analogous
#CF7148 #CFB448 #A7CF48
triadic
#CFB448 #48CFB4 #B448CF
tetradic
#CFB448 #48CF71 #4863CF #CF48A7
square
#CFB448 #48CF71 #4863CF #CF48A7
split-complementary
#CFB448 #48A7CF #7148CF
monochromatic
#7C6A21 #AD932D #CFB448 #DCC878 #E8DCA9

Accessibility & contrast

On white

2.04
#CFB448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#CFB448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB448
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB448#FFFFFF#000000##000000
##CFB4481.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B03B
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#DFA79D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb448;
/* rgb */ color: rgb(207, 180, 72);
/* oklch */ color: oklch(77.3% 0.129 95.1);
Tailwind
colors: {
  custom: {
    50: '#e1ca80',
    500: '#cfb448',
    950: '#000000',
  },
}
SCSS
$custom: #cfb448;
$custom-light: #e1ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb448",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 48,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77325,
    "c": 0.12944,
    "h": 95.1
  },
  "luminance": 0.46376
}

Semantic roles & 50–950 ramp

primary
#CFB448
secondary
#9DA8D6
accent
#65E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB448

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

Preview Lab → · Contrast checker → · Palette generator →

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