#CFB150#CFB150

#CFB150 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.121 H 92.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CFB150
RGBrgb(207, 177, 80)
HSLhsl(46, 57%, 56%)
HSVhsv(46, 61%, 81%)
CMYKcmyk(0%, 14.5%, 61.4%, 18.8%)
CIE-LABlab(73.08, -0.43, 52.48)
CIE-LCHlch(73.08, 52.48, 90.47°)
OKLaboklab(76.79% -0.0045 0.1208)
OKLCHoklch(76.79% 0.121 92.1)
XYZxyz(42.9042, 45.2911, 14.0700)
Luminance0.4529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB150 #506ECF
analogous
#CF7250 #CFB150 #AECF50
triadic
#CFB150 #50CFB1 #B150CF
tetradic
#CFB150 #50CF72 #506ECF #CF50AE
square
#CFB150 #50CF72 #506ECF #CF50AE
split-complementary
#CFB150 #50AECF #7250CF
monochromatic
#816B23 #B19331 #CFB150 #DCC680 #E9DCB0

Accessibility & contrast

On white

2.09
#CFB150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CFB150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB150
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB150#FFFFFF#000000##000000
##CFB1501.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE46
Deuteranopia (green-blind)
#CAB754
Tritanopia (blue-blind)
#DFA49C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb150;
/* rgb */ color: rgb(207, 177, 80);
/* oklch */ color: oklch(76.8% 0.121 92.1);
Tailwind
colors: {
  custom: {
    50: '#e1c885',
    500: '#cfb150',
    950: '#000000',
  },
}
SCSS
$custom: #cfb150;
$custom-light: #e1c885;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb150",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 80
  },
  "hsl": {
    "h": 45.827,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76789,
    "c": 0.12091,
    "h": 92.1
  },
  "luminance": 0.45289
}

Semantic roles & 50–950 ramp

primary
#CFB150
secondary
#A3B0D8
accent
#6CE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB150

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

Preview Lab → · Contrast checker → · Palette generator →

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