#CFB139#CFB139

#CFB139 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.138 H 94.6°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#CFB139
RGBrgb(207, 177, 57)
HSLhsl(48, 61%, 52%)
HSVhsv(48, 72%, 81%)
CMYKcmyk(0%, 14.5%, 72.5%, 18.8%)
CIE-LABlab(72.90, -1.75, 62.04)
CIE-LCHlch(72.90, 62.06, 91.61°)
OKLaboklab(76.58% -0.011 0.1374)
OKLCHoklch(76.58% 0.138 94.6)
XYZxyz(42.1950, 45.0074, 10.3349)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB139 #3957CF
analogous
#CF6639 #CFB139 #A2CF39
triadic
#CFB139 #39CFB1 #B139CF
tetradic
#CFB139 #39CF66 #3957CF #CF39A2
square
#CFB139 #39CF66 #3957CF #CF39A2
split-complementary
#CFB139 #39A2CF #6639CF
monochromatic
#72611C #A38A28 #CFB139 #DBC46A #E7D89C

Accessibility & contrast

On white

2.10
#CFB139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#CFB139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB139
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB139#FFFFFF#000000##000000
##CFB1391.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE26
Deuteranopia (green-blind)
#CBB740
Tritanopia (blue-blind)
#E0A399
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb139;
/* rgb */ color: rgb(207, 177, 57);
/* oklch */ color: oklch(76.6% 0.138 94.6);
Tailwind
colors: {
  custom: {
    50: '#e2c777',
    500: '#cfb139',
    950: '#000000',
  },
}
SCSS
$custom: #cfb139;
$custom-light: #e2c777;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb139",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 48,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76582,
    "c": 0.13782,
    "h": 94.6
  },
  "luminance": 0.45005
}

Semantic roles & 50–950 ramp

primary
#CFB139
secondary
#919ED3
accent
#64E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB139

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

Preview Lab → · Contrast checker → · Palette generator →

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