#CFB148#CFB148

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

Color values

HEX#CFB148
RGBrgb(207, 177, 72)
HSLhsl(47, 58%, 55%)
HSVhsv(47, 65%, 81%)
CMYKcmyk(0%, 14.5%, 65.2%, 18.8%)
CIE-LABlab(73.01, -0.94, 55.99)
CIE-LCHlch(73.01, 56.00, 90.97°)
OKLaboklab(76.71% -0.007 0.1272)
OKLCHoklch(76.71% 0.127 93.1)
XYZxyz(42.6260, 45.1798, 12.6050)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB148 #4866CF
analogous
#CF6E48 #CFB148 #A9CF48
triadic
#CFB148 #48CFB1 #B148CF
tetradic
#CFB148 #48CF6E #4866CF #CF48A9
square
#CFB148 #48CF6E #4866CF #CF48A9
split-complementary
#CFB148 #48A9CF #6E48CF
monochromatic
#7C6821 #AD902D #CFB148 #DCC678 #E8DAA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB148#FFFFFF#000000##000000
##CFB1481.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)
#C3AE3C
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#DFA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb148;
/* rgb */ color: rgb(207, 177, 72);
/* oklch */ color: oklch(76.7% 0.127 93.1);
Tailwind
colors: {
  custom: {
    50: '#e1c880',
    500: '#cfb148',
    950: '#000000',
  },
}
SCSS
$custom: #cfb148;
$custom-light: #e1c880;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb148",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 46.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76708,
    "c": 0.12735,
    "h": 93.1
  },
  "luminance": 0.45178
}

Semantic roles & 50–950 ramp

primary
#CFB148
secondary
#9DAAD6
accent
#69E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB148

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

Preview Lab → · Contrast checker → · Palette generator →

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