#CFB149#CFB149

#CFB149 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.127 H 93.0°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CFB149
RGBrgb(207, 177, 73)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 65%, 81%)
CMYKcmyk(0%, 14.5%, 64.7%, 18.8%)
CIE-LABlab(73.02, -0.88, 55.56)
CIE-LCHlch(73.02, 55.57, 90.91°)
OKLaboklab(76.72% -0.0067 0.1264)
OKLCHoklch(76.72% 0.127 93)
XYZxyz(42.6589, 45.1930, 12.7782)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB149 #4967CF
analogous
#CF6E49 #CFB149 #AACF49
triadic
#CFB149 #49CFB1 #B149CF
tetradic
#CFB149 #49CF6E #4967CF #CF49AA
square
#CFB149 #49CF6E #4967CF #CF49AA
split-complementary
#CFB149 #49AACF #6E49CF
monochromatic
#7D6821 #AD912E #CFB149 #DCC679 #E9DBAA

Accessibility & contrast

On white

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

On black

10.04
#CFB149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB149
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB149#FFFFFF#000000##000000
##CFB1491.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3D
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#DFA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb149;
/* rgb */ color: rgb(207, 177, 73);
/* oklch */ color: oklch(76.7% 0.127 93.0);
Tailwind
colors: {
  custom: {
    50: '#e1c880',
    500: '#cfb149',
    950: '#000000',
  },
}
SCSS
$custom: #cfb149;
$custom-light: #e1c880;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb149",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 46.567,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76718,
    "c": 0.12658,
    "h": 93
  },
  "luminance": 0.45191
}

Semantic roles & 50–950 ramp

primary
#CFB149
secondary
#9EAAD6
accent
#69E146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB149

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

Preview Lab → · Contrast checker → · Palette generator →

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