#CFB451#CFB451

#CFB451 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.122 H 94.1°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CFB451
RGBrgb(207, 180, 81)
HSLhsl(47, 57%, 56%)
HSVhsv(47, 61%, 81%)
CMYKcmyk(0%, 13%, 60.9%, 18.8%)
CIE-LABlab(73.87, -1.94, 52.90)
CIE-LCHlch(73.87, 52.93, 92.10°)
OKLaboklab(77.42% -0.0087 0.1219)
OKLCHoklch(77.42% 0.122 94.1)
XYZxyz(43.5405, 46.5042, 14.4658)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB451 #516CCF
analogous
#CF7551 #CFB451 #ABCF51
triadic
#CFB451 #51CFB4 #B451CF
tetradic
#CFB451 #51CF75 #516CCF #CF51AB
square
#CFB451 #51CF75 #516CCF #CF51AB
split-complementary
#CFB451 #51ABCF #7551CF
monochromatic
#826E24 #B29631 #CFB451 #DCC981 #E9DDB1

Accessibility & contrast

On white

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

On black

10.30
#CFB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB451
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB451#FFFFFF#000000##000000
##CFB4511.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#CCB955
Tritanopia (blue-blind)
#DEA79E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb451;
/* rgb */ color: rgb(207, 180, 81);
/* oklch */ color: oklch(77.4% 0.122 94.1);
Tailwind
colors: {
  custom: {
    50: '#e1ca85',
    500: '#cfb451',
    950: '#000000',
  },
}
SCSS
$custom: #cfb451;
$custom-light: #e1ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb451",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 47.143,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77415,
    "c": 0.12217,
    "h": 94.1
  },
  "luminance": 0.46502
}

Semantic roles & 50–950 ramp

primary
#CFB451
secondary
#A4AFD8
accent
#68E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB451

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

Preview Lab → · Contrast checker → · Palette generator →

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